My Oracle Support Banner

OUD - Troubleshooting SSL Server Secure Connection - SSLHandshakeException (sun.security.validator.ValidatorException: PKIX path building failed...) (Doc ID 1396212.1)

Last updated on AUGUST 01, 2018

Applies to:

Oracle Unified Directory - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Purpose

The following error message is issued:

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

 



This article explains how to debug and fix this error, which is due to the server certificate not being in the certificate chain.

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

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


In this Document
Purpose
Troubleshooting Steps
 0) Prerequisite
 1) Description
 2) Cause Determination
 3) How to Fix it: Importing CA certificate and signed certificate reply in server keystore
 3.1) Import CA certificate
 3.2) Import signed server certificate reply into server keystore
 3.3) List certificates in the LDAP server keystore
 4)Verify with an ldapsearch request  over SSL
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.