My Oracle Support Banner

OUD - Troubleshooting SSL Server Secure Connection - SSLHandshakeException ( PKIX path building failed...) (Doc ID 1396212.1)

Last updated on AUGUST 29, 2023

Applies to:

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


The following error message is issued:

SSLHandshakeException( PKIX path building failed: 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
Troubleshooting Steps
 0) Prerequisite
 1) Description
 2) Cause Determination
 3) How to Fix it: Importing the CA certificate and signed certificate reply in the server keystore
 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

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