Know How

SOA 12c: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Error:

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

Solution:

Step 1: Open file setDomainEnv

$MW_HOME/user_projects/domains/soa_domain/bin/setDomainEnv.sh

Step 2: Remove below property value from setDomainEnv

-Djavax.net.ssl.trustStore=${WL_HOME}/server/lib/DemoTrust.jks”

Step 3: Save the file.

Step 4: Restart the Services and retest the issue

Let's make something intelligent together