pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: Shalaka1197 (@Shalaka1197) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] issue #3349: SSL connection is not established
Date: Mon, 19 Aug 2024 10:53:49 +0000
Message-ID: <[email protected]> (raw)
I am getting below exception when I am trying to connect to postgres using ssl. I am connecting by using root.crt file and verify-full mode.
`Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors, at java.base/sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:369), at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:275), at java.base/sun.security.validator.Validator.validate(Validator.java:264), at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231), at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132), at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1341), ... 84 common frames omittedCaused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors, at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:157), at java.base/sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:83), at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309), at java.base/sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:364), ... 89 common frames omitted`
@davecramer Please let me know what can be the issue ?
view thread (31+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] issue #3349: SSL connection is not established
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox