-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
Invalid ssl option but still DB connection working fine #2673
Comments
Hi, I ran into the same issue as you. I commented in #2581 (comment) why does |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
We are using mysql2 version
3.9.7
and MySQL v8.0 also having RDS proxy connected to the DB instance. We are seeing the DB connection is working fine when we passssl : {}
.When we enabled
Transport Layer Security
in the RDS proxy and also turned ONrequire_secure_transport
in the RDS parameter group we passed the ssl option asAmazon RDS
at first but received the errorunable to get local issuer certificate
.So we created a key in secret manager and placed the certificate in it and used it while connecting to the DB as below. Later the connection was working fine.
ssl : { ca: secret[config.certificate.caKey], rejectUnauthorized: true, verifyIdentity: true, }
But if we pass
ssl : {}
still the connection is working fine with above settings of TLS and SSL enabled. Can someone look into it?The text was updated successfully, but these errors were encountered: