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

sslmode=require in connection string breaks with self signed certificate #2375

Open
zakjan opened this issue Oct 11, 2020 · 2 comments
Open

Comments

@zakjan
Copy link

zakjan commented Oct 11, 2020

After #2345 was merged, sslmode=require in connection string breaks with self signed certificate. SSL config is overriden to {}, leading to error "self signed certificate in certificate chain".

According to the table in #2281, correct SSL config is {rejectUnauthorized: false} in this case.

@katlimruiz
Copy link

katlimruiz commented Jan 19, 2021

Hi, just wanted to understand if this was a suggestion on how to fix it, but is still not fixed?

@ceefour
Copy link

ceefour commented Dec 28, 2022

this buggy sslmode=require behavior still exists in v8.8.0. If the user wants to verify certificate, it can use verify-ca or verify-full.

Currently the buggy behavior treats require similar as verify-ca.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants