javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX Path Building Failed On Custom Code

(Doc ID 2367215.1)

Last updated on MARCH 15, 2018

Applies to:

Oracle WebLogic Server - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Outbound webservice call from WLS to a third party server fails during SSL handshake

Server side trust certificate is already copied to WLS TrustKeyStore and the JAVA_OPTIONS -Djavax.net.ssl.trustStore= <path to the WLS TrustKeyStore> -Djavax.net.ssl.trustStorePassword=<password> was already set

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms