SV-10.4 Registry cannot connect to IAM InvalidAlgorithmParameterException: the trustAnchors parameter

book

Article ID: 193757

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

After restarting the registry on a different device I am getting the following error.

  

https://advwa00a0089.ent.wfb.bank.corp:51111/auth

 

 

2020-06-11 21:16:32,323Z (17:16) [main] ERROR com.itko.lisa.coordinator.TestRegistryImpl - ************************

2020-06-11 21:16:32,323Z (17:16) [main] ERROR com.itko.lisa.coordinator.TestRegistryImpl - Couldn't connect to IAM server https://advwa00a0089.ent.wfb.bank.corp:51111/auth

2020-06-11 21:16:32,323Z (17:16) [main] ERROR com.itko.lisa.coordinator.TestRegistryImpl - Please make sure IAM server is up before starting Registry

2020-06-11 21:16:32,323Z (17:16) [main] ERROR com.itko.lisa.coordinator.TestRegistryImpl - ************************

2020-06-11 21:16:32,323Z (17:16) [main] INFO  System.out                     - Please make sure IAM server is up before starting Registry

2020-06-11 21:16:32,464Z (17:16) [Thread-7] INFO  com.itko.lisa.net.ActiveMQFactory - Closing AMQ connections

 

 

Cause

Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
 at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:90)
 at sun.security.validator.Validator.getInstance(Validator.java:179)
 at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)
 at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171)
 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184)
 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:105)
 at org.apache.http.conn.ssl.SSLContextBuilder$TrustManagerDelegate.checkServerTrusted(SSLContextBuilder.java:190)
 at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:922)
 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)

Environment

Release : 10.4

Component : CA Service Virtualization

Resolution

patch_DE406396_10.4.0_LTD.jar  fixes the issue.  apply the patch to HOME/lib/patches  folder on the Registry server. 

Please make sure the patch is also placed in LISA_HOME/lib/patches folder of all the machines from where you start the WORKSTATION