-
Notifications
You must be signed in to change notification settings - Fork 109
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
Unable to connect to mysql using ssl #142
Comments
Please refer to the usage examples from the mysql2 module found here and here. It looks like what you're trying to do is correct - so I suggest to sanity check the value of To debug certificate errors, try to use the |
Thanks I will try that out. |
createMySQLStore.Options is missing ssl field and ssl is not being set. The workaround is to pass ssl with connection.
|
Please be aware that using |
I have tried the following configuration but i am unable to connect to mysql 8 database. Either with the certificate or without by using rejectUnauthorized.
I always receive the error
Error: Connections using insecure transport are prohibited while --require_secure_transport=ON
}
The text was updated successfully, but these errors were encountered: