anonaddy / docker

AnonAddy Docker image
MIT License
519 stars 56 forks source link

DB connection over TLS/SSL #266

Open buxm opened 8 months ago

buxm commented 8 months ago

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

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.

luckydonald commented 8 months ago

From the first glance this looks good.