1

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

While trying to communicate with the other server .

Paul
  • 11
  • 1
  • Welcome to Stack Overflow. It's not clear what caused the error you shared, so please clarify. It's also a good idea to [take the tour](https://stackoverflow.com/tour), and read [How to Ask](https://stackoverflow.com/help/how-to-ask). – Ann Kilzer Dec 04 '19 at 13:41
  • Looks like there's no valid certificate to the requested target..is the target server's certificate self-signed? If no, have you imported the certificate into the cacerts keystore? – Matheus Dec 04 '19 at 16:12
  • install ssl cert to java cacerts. Follow [this](https://stackoverflow.com/a/37411410/1802348) steps – positivecrux Dec 14 '22 at 12:24

0 Answers0