You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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 includedsslmode=verify-full
in my JDBC connection parameters which does affect the JDBC driver (a differentSSLSocketFactory
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
.The text was updated successfully, but these errors were encountered: