Got "unable to find valid certification path to requested target" error when test connection on Agent Manager
search cancel

Got "unable to find valid certification path to requested target" error when test connection on Agent Manager

book

Article ID: 278386

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

When click on the 'Test Connection' from the Scheduler ADD page I get the following error:

Error validating connection to Scheduler; reason: I/O error on GET request for "https://company.com:port/actuator/info": com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target

 

Environment

Agent Manager 1.0.1

Cause

The errors indicate that the Certificate used for the REST server is not known to WAM (Agent Manager).

Resolution

The following parameter in WAMOPTS has two more extra slashes:
IJO="$IJO -Djavax.net.ssl.trustStore=safkeyring:////RESTSTC/RINGID"

It should be:
IJO="$IJO -Djavax.net.ssl.trustStore=safkeyring://RESTSTC/RINGID"