Invalid keystore format when starting new Applications Manager Remote Agent
search cancel

Invalid keystore format when starting new Applications Manager Remote Agent

book

Article ID: 433694

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

After installing a new Remote Agent, the Agent fails to start. The Agent log shows the below error:

ErrorMsg: AwE-5103 network socket error
Details: master.host.name:port 
network socket error: master.host.name:port : java.io.IOException: Invalid keystore format 
   at com.appworx.agent.Agentservice.createsocket(Agentservice.java : 603) 
   at com.appworx.agent.AgentService.A(AgentService.java : 732)
   at com.appworx.agent.Agentservice.A(Agentservice.java : 632) 
   at com.appworx.agent.AgentService.<init>(AgentService.java : 352) 
   at com.appworx.agent.Agentservice.main (Agentservice. java : 931) 
caused by: java.io.IOException: Invalid keystore format 
   at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source) 
   at sun.security.provider.JavaKeystore$JKS.engineLoad(Unknown source) 
   at sun.security provider.KeyStoreDeIegator.engineLoad(Unknown Source) 
   at sun.security.provider.JavaKeystore$Dua1FormatJKS.engineLoad(Unknown source) 
   at java.security.Keystore.load(Unknown Source) 
   at com.appworx.server.SSI.B.A(Keymgr. java : 44) 
   at com.appworx.server.SSI.A.A(Trustmgr. java : 11) 
   at com.appworx.agent.Agentsocketmanager.H(Agentsocketmanager.java : 82 ) 
   at com.appworx.agent.Agentservice.createsocket(Agentservice.java : 579) 
   ...  4 more 

Environment

Applications Manager 9.5.x and above

Cause

The user_keystore and user_keystore config was generated on the Applications Manager Master server where Java/OpenJDK 11 or above was used for the keystore generation, but the Remote Agent is using Java/OpenJDK 8.

Java 8 uses a different default algorithm then Java 11 or above.

Resolution

Review the Java version used by the Applications Manager master.

It is recommended to install/upgrade the Remote Agent Java version to match the master's Java version.