When the key store for the APM T5 agent is created with ikeyman, the T5 agent cannot
open the key store using a stashed password.
While configuring the T5 agent to use the key store created with ikeyman, an error similar to this is displayed:
Could not successfully open keystore C:\\IBM\\APM\\keyfiles\\wrtkeys.kdb.
The keystore may be corrupt or the password stash file may be incorrect.
One or more configuration parameters could not be changed
The quickest solution is to use GSKit to stash the password for the existing key store.
Here is a command that will stash the password for the existing key store, and resolve the issue:
> gsk8capicmd_64.exe -keydb -stashpw -db C:\IBM\APM\keyfiles\wrtkeys.kdb
> export PATH=/opt/ibm/apm/agent/lx8266/gs/bin:$PATH
> export LD_LIBRARY_PATH=/opt/ibm/apm/agent/lx8266/gs/lib64:$LD_LIBRARY_PATH
> gsk8capicmd_64 -keydb -stashpw -db /opt/ibm/apm/agent/keyfiles/keys.kdb
NOTE: The 'stashpw' command will prompt for the password to the existing key store.