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

Does this module allow for secure connections? #52

Closed
viral32111 opened this issue Apr 4, 2020 · 3 comments
Closed

Does this module allow for secure connections? #52

viral32111 opened this issue Apr 4, 2020 · 3 comments

Comments

@viral32111
Copy link
Contributor

Heya,

As the title states, I would like to know if I can connect securely using SSL/TLS certificate & private key files to a MySQL server like you usually can with ssl_ca, ssl_cert, ssl_key, etc on other MySQL clients.

If this is possible, can you provide me with some demo code on how I would specify the cert & key?

Thanks, viral32111 :)

@FredyH
Copy link
Owner

FredyH commented Apr 4, 2020

Using certificates is currently not possible. I am fairly certain the client does use encryption if available but you cannot establish identity of the server.
Maybe I should add this in the next version.

@WinterPhoenix
Copy link
Contributor

WinterPhoenix commented May 10, 2020

A quick note, with a MySQL 8 Server target, I'm getting this with SSL turned on:
SSL connection error: unknown error number

Without X509 certificate stuff. See #60

@FredyH
Copy link
Owner

FredyH commented May 10, 2020

Closing in favor of #60

@FredyH FredyH closed this as completed May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants