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

Support ?sslrootcert=system config option #689

Closed
nicksrandall opened this issue Oct 10, 2023 · 4 comments
Closed

Support ?sslrootcert=system config option #689

nicksrandall opened this issue Oct 10, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@nicksrandall
Copy link
Contributor

nicksrandall commented Oct 10, 2023

This new config option in Postgres v16 can help prevent MITM attacks. It would be great if this was supported in postgres.js.

More info: https://neon.tech/blog/avoid-mitm-attacks-with-psql-postgres-16

Basically, ?sslrootcert=system is a shortened way to say ?sslmode=verify-full&sslrootcert=/etc/ssl/cert.pem

@porsager
Copy link
Owner

Hi @nicksrandall - yeah that's cool! I'm open for a PR, if you don't want to wait until I need it myself 😉

@porsager porsager added the enhancement New feature or request label Oct 26, 2023
@nicksrandall
Copy link
Contributor Author

@porsager PR is here: #690

@porsager
Copy link
Owner

Haha - oh my - it was right there 😍 sorry - tired eyes

@porsager
Copy link
Owner

porsager commented Nov 2, 2023

Fixed in #690

@porsager porsager closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants