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

Add sslmode=verify-full connection string expansion. #4418

Closed

Conversation

chrismccord
Copy link
Contributor

@chrismccord chrismccord commented May 17, 2024

This query param is used by postgres and cockroachdb to force a secure connection,
verify that the server certificate is signed by a known CA, and verify that the server address matches that specified in the certificate.

This requires setting various complex ssl options that we can do for the user automatically.

mysql also uses the sslMode terminology for their ssl options, so I believe this can also align there as well.

This query param is used by postgres and cockroachdb
to verify to force a secure connection,
verify that the server certificate is signed by a known CA,
and verify that the server address matches that specified in the certificate.

This requires setting various complex ssl options that
we can do for the user automatically.

mysql also uses the sslMode terminology for their ssl options,
so I believe this can also align there as well.
@josevalim
Copy link
Member

Thank you, this helped moved the conversation forward, see PR in elixir-ecto/postgrex#677!

@josevalim josevalim closed this May 17, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants