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 Postgresql's sslmode parameter #420

Closed
plmercereau opened this issue Feb 25, 2023 · 5 comments
Closed

Support Postgresql's sslmode parameter #420

plmercereau opened this issue Feb 25, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@plmercereau
Copy link

I could not find a way to pass on the sslmode parameter in the connection string, for instance, to set it to require. It is something that is possible to do?
Thanks in advance, very nice project

@plmercereau plmercereau added the enhancement New feature or request label Feb 25, 2023
@gedw99
Copy link

gedw99 commented Feb 25, 2023

This is what’s blocking me too.

#416 (comment)

@dosco
Any chance on a fix ?

@dosco
Copy link
Owner

dosco commented Mar 11, 2023

New connection_string config option under database use as you wish.

connection_string: postgres://jack:[email protected]:5432/mydb?sslmode=verify-ca&pool_max_conns=10

@gedw99
Copy link

gedw99 commented Mar 11, 2023

Thanks @dosco

If I recall correctly this should fix the cockroachdb connection issue too

@dosco
Copy link
Owner

dosco commented Mar 11, 2023

let me know.

@plmercereau
Copy link
Author

It works, thanks v much!

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

3 participants