My Oracle Support Banner

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty - Getting this Exception When Using WLST And SSL To Securely Connect a WLS Server (Doc ID 2061348.1)

Last updated on DECEMBER 16, 2023

Applies to:

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

Symptoms

An attempt to connect to the administration server via WLST using SSL is throwing "Cannot connect to WLST." : Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty.

This situation can be replicated using the following components:

1) a valid identity keystore. A self-signed certificate could be used.

2) a valid trust keystore.

3) connect.sh script to hold the JVM options to trigger this exercise

4) connect.pl script to test the secure connection to the administration server

connect.sh



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
References


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