Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Optional MySql SSL Certificate #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArryaLove
Copy link

I added a new parameter to the db_inc files called db_cert that references a path to a certificate file that will be used to do TLS security for the MySql server. I then also added the PDO::MYSQL_ATTR_SSL_CA option to all of the db_connect files to use this parameter.

@razvancrainea
Copy link
Member

@Jehran thanks for your contribution, it is really appreciated!
In 359fe54 I have approached a more generic, mechanism, where you can define your own attrs, which translate to options. Using this, you can define your own PDO::MYSQL_ATTR_SSL_CA attribute, as well as others. Is this enough for you? If so, we can close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants