d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Java Keystore & Letsencrypt's Ssl Certificates
Add Reply New Topic New Poll
Member
Posts: 18,311
Joined: Dec 13 2008
Gold: 950.00
Mar 27 2016 10:14am
I'm using a certificate generated with LetsEncrypt, so when I try to make a connection via HttpsUrlConnection, I get the following error:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested

Is there any way to install the certificate into the keystore at runtime? Or any other solutions to this issue.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll