-
Notifications
You must be signed in to change notification settings - Fork 41
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
PostgreSQL and MySQL connectors support sslmode=verify-full #548
Comments
Note - there was a request to get this fixed in #922 |
Today we briefly looked into what it would take to get this implemented. We noticed the two commented lines: and wanted to validate whether simply uncommenting them would get this working e2e. It doesn't appear to have worked. To try to get it working, I cloned the I spun up a MySQL instance in a Docker container with:
and copied the Then I ran
I tried to run
Replacing |
@izgeri the reason your test failed is the I've tested by hard coding the hostname at ssl.go#L62 to my MySQL hostname. That works - no error, and the connection is encrypted (verified by packet dump). I also tested the hostname verification by changing
|
@porjo thanks for digging into this more! cc @doodlesbykumbi who originally suggested just uncommenting the Since this appears to be a pretty small change that we need to make that will resolve this ticket, I'm hopeful we can potentially even get this change in as part of the next tagged release! I'll keep you posted here, though. |
verify-full
is equivalent toVERIFY_IDENTITY
as stated in the MySQL docs:AC:
The text was updated successfully, but these errors were encountered: