Re: SSL connection issue with JDBC
От | David Wall |
---|---|
Тема | Re: SSL connection issue with JDBC |
Дата | |
Msg-id | c3007a51-b7a8-23b3-a1f4-41f9bd2c1bed@computer.org обсуждение исходный текст |
Ответ на | Re: SSL connection issue with JDBC (Rob Sargent <robjsargent@gmail.com>) |
Ответы |
Re: SSL connection issue with JDBC
|
Список | pgsql-jdbc |
On 5/14/19 9:31 AM, Rob Sargent wrote:
Update you jdbc driver to current release.If I use latest JDBC postgrsql driver "postgresql-42.2.5" then I get below error.
Anup
Sounds like that was done.
Are you sure your SSL certs are recognized? The original exception suggests an issue with trust along the chain:
Caused by: java.security.cert.CertPathValidatorException: The certificate issued by CN=certificate-authority is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining error
That does seem an unexpected CN. Both your java cacerts and postgres would have to share the CA certs needed to validate the full chain.
David
В списке pgsql-jdbc по дате отправления: