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 AUGUST 10, 2016

Applies to:

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

Symptoms

A try 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 can 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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms