Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
MySQL TLS connection support with verify-server-cert=false #2475
This is a feature request to support TLS connections towards MySQL databases without checking the cert of the MySQL server.
From user-facing perspective, modifying
User could then set
The point of this request is to make it easier and faster to deploy TLS connections towards MySQL.
Why would this be useful?
This is useful in test and dev environments so certs don't have to be transfered around.
Basically any automated temporary deployment (as mentioned, for test/dev) would be much easier and faster having this option.
Sadly, I am not a C / C++ developer - the code is simple to understand, but modifying it is a different thing.
I can attempt this, but I will not have a way to test if the build passes or not.
I can however submit a PR that someone can review and fix any errors.
Thank you for that, it was enough to get us going.
There should now be PR in both
Config that works:
It was tested against MariaDB 10.3 with a self-signed cert used for TLS and username/password auth used against the DB.