UnrecoverableKeyException: Password verification failed in AdminUI
search cancel

UnrecoverableKeyException: Password verification failed in AdminUI

book

Article ID: 278258

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder) SITEMINDER

Issue/Introduction


When running an AdminUI, when starting it after an upgrade, it stops on its own and the browser can't access it.

The AdminUI server.log reports:

  2024-01-19 15:07:03,079 ERROR [com.ca.commons.security.ssl.CustomDefaultStoreSSLSocketFactory] (ServerService Thread Pool -- 183) Unable to create CustomDefaultStoreSSLSocketFactory: java.security.KeyStoreException: problem accessing trust store
  Caused by: java.security.UnrecoverableKeyException: Password verification failed

The standalone-full.xml has already the correct passwords:

  <server-identities>
   <ssl>
    <keystore alias="tomcat" key-password="<the_password_defined_for_the_key_store>" keystore-password="changeit" path="keyStore.jks" relative-to="jboss.server.config.dir"/>
   </ssl>
   </server-identities>
   <authentication>
    <truststore keystore-password="<the_password_defined_for_the_trusted_store>" path="trustStore.jks" relative-to="jboss.server.config.dir"/>
   </authentication>
  

Resolution


Changing the "changeit" password to the one defined for the trusted store solved the issue from the standalone.conf file solved the issue.

/opt/CA/siteminder/adminui/bin/standalone.conf

JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.keyStorePassword=changeit"

to

JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.keyStorePassword=<the_password_defined_for_the_trusted_store>"