Skip to content

Support for pg prefer for ssl #2775

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

Closed
kutysam opened this issue Jul 22, 2022 · 1 comment
Closed

Support for pg prefer for ssl #2775

kutysam opened this issue Jul 22, 2022 · 1 comment

Comments

@kutysam
Copy link

kutysam commented Jul 22, 2022

According to https://www.postgresql.org/docs/current/libpq-ssl.html there are different modes of ssl connectivity (if we need or not)

34.19.3. Protection Provided in Different Modes

I would like to check if prefer is enabled on this library. From what i see, it is either true or false.

If that is the case, I don't think the server can function without a downtime.
if it is prefer, and the db connection fails, it will probably fallback to non-ssl.
And if i enable ssl, it will probably restart the connection to ssl.

With just being true / false, I don't think this can be done.

@charmander
Copy link
Collaborator

Duplicate of #2720

@charmander charmander marked this as a duplicate of #2720 Jul 22, 2022
@charmander charmander closed this as not planned Won't fix, can't repro, duplicate, stale Jul 22, 2022
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

2 participants