My Oracle Support Banner

In Secure Production Mode Connecting to AdminServer Using WLST Command Fails with the Error "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException" OR "javax.net.ssl.SSLKeyException: Hostname verification failed" (Doc ID 3065907.1)

Last updated on FEBRUARY 19, 2025

Applies to:

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

Symptoms

- New WebLogic Domain Configured in Secure Production mode.
- Admin Server and Node Manager are using default Demo certificates(pkcs12)
- Trying to connect to Admin Server using wlst command/Deploying Hosted Remote Console fails with the below errors:

 

 

Cause

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
Symptoms
Cause
Solution
 A. When using Demo certs:
 B. When using custom JKS keystore:
 C. When using custom PKCS12 keystore:
 D. Steps to set in setWlstEnv_internal.sh file:
References

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