My Oracle Support Banner

Troubleshooting " PKIX path building failed" Exceptions (Doc ID 2924538.1)

Last updated on FEBRUARY 08, 2023

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.


 This document is a support pattern describing how to troubleshoot and fix the following Java exception:

Caused By: PKIX path building failed: unable to find valid certification path to requested target


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
 Problem Description
 Common Causes
 Resolving Certificate Store Errors
 List Certificates
 Add Certificates
 Script to automate the above
 Custom Certificate Store Path
 Other Less Common Causes

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