Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Document parameter sslmode and implications #15

Open
maffe opened this issue Oct 6, 2015 · 2 comments
Open

Document parameter sslmode and implications #15

maffe opened this issue Oct 6, 2015 · 2 comments

Comments

@maffe
Copy link
Contributor

maffe commented Oct 6, 2015

The documentation doesn’t mention the parameter sslmode. While setting up a PostgreSQL environment, I came across http://www.postgresql.org/docs/9.4/static/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS. I included sslmode=verify-full in my JDBC connection parameters which does affect the JDBC driver (a different SSLSocketFactory is used). The most obvious effect was that the server CA certificate in the default Java truststore is ignored, instead it has to be in ~/.postgresql/root.crt.

@davecramer
Copy link
Member

More specifically it defaults to there if the sslrootcert property is null

@davecramer
Copy link
Member

I've updated the site, please have a look and comment.

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

No branches or pull requests

2 participants