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

DB connection over TLS/SSL #266

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

buxm
Copy link

@buxm buxm commented Mar 6, 2024

Add support for connecting to MySQL DB over TLS/SSL, as a solution to #199.
New variables added to support this option:

  • DB_SSL
  • MYSQL_ATTR_SSL_CA

Descriptions of the new variables added in the README file.

Ended up implementing much simpler option than anticipated in #199, since the PHP app would either connect to the DB without TLS or with TLS and certificate verification.
So the only options are to either turn on or off the connection over TLS and potentially to provide a custom CA certificate. MySQL server's certificate verification is always on when connection over TLS is on.

@buxm buxm requested a review from crazy-max as a code owner March 6, 2024 22:03
@luckydonald
Copy link
Contributor

From the first glance this looks good.

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.

None yet

2 participants