Message-ID: From: "Shalaka1197 (@Shalaka1197)" To: "pgjdbc/pgjdbc" Date: Tue, 03 Sep 2024 05:30:55 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3349: SSL connection is not established In-Reply-To: References: List-Id: X-GitHub-Author-Login: Shalaka1197 X-GitHub-Comment-Id: 2325634390 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3349 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3349#issuecomment-2325634390 Content-Type: text/plain; charset=utf-8 @davecramer How is it checking expiry for root.crt files and throwing below exception ? Why is it not applicable for server.crt file ? `Caused by: java.security.cert.CertificateExpiredException: NotAfter: Fri Aug 23 11:44:37 UTC 2024, at java.base/sun.security.x509.CertificateValidity.valid(CertificateValidity.java:277) , at java.base/sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:627) , at java.base/sun.security.provider.certpath.BasicChecker.verifyValidity(BasicChecker.java:190) , at java.base/sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144)`