DE Server Log message: java.security.NoSuchAlgorithmException
search cancel

DE Server Log message: java.security.NoSuchAlgorithmException

book

Article ID: 250531

calendar_today

Updated On:

Products

CA Workload Automation DE

Issue/Introduction

User is getting an error in CAWA logs where DE is integrated with LDAP via SSL certificate:

 

Example: 

[Fri Sep 09 17:37:04 CLST 2022] [10.0.0.# - somehost] - javax.naming.CommunicationException: <ldap.servername>:636 [Root exception is java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]

 

 

 

Environment

Release : 12.2

Component : CA WORKLOAD AUTOMATION DE (DSERIES)

 

Cause

This message can appear when the TrustStore password is invalid. In fact, the NoSuchAlgorithmException is the first message in the stack. However, a few pages down (same stack) it shows:

  • Caused by: java.security.KeyStoreException: problem accessing trust store
  • Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
  • Caused by: java.security.UnrecoverableKeyException: Password verification failed

 

 

Resolution

Update the TrustStorePassword used by the DE Server.

 

To do this, please:

  • Use the keytool command to verify the password. Example command: keytool -list -keystore <path>/<to>/<trustStoreFile>
  • Once you have verified the password for the TrustStore file using the keytool command, update the TrustStorePassword used by DE as follows: 
    • run: cd DEServer_InstallDir
    • run: ./bin/setdbparm javax.net.ssl.trustStorePassword
      provide the truststore file's password when prompted. 
  • Stop/Start the DE Server. 

 

Additional Information

Additional information can be found here: