How to fix SSLHandshakeException

2.1k Views Asked by At

We are getting the below error when i try to parse the wsdl in Enterprise manager. How do i fix this.

The WSDL document could not be parsed.The following error occured while parsing the WSDL location - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "https:/xxx?WSDL", caused by: javax.net.ssl.SSLHandshakeException. : 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

1

There are 1 best solutions below

0
On

Make sure the required CA certificates are added into the required CERT db files like if the App/Web server using JDK's one then file should be ${JAVA_home}/jre/lib/security/cacerts.

You can cross check that your certificate is added or not. keytool -list -keystore${JAVA_home}/jre/lib/security/cacerts

The keystore file path may vary based on your server configuration.