• Version differences
– The same “controlm” default is documented for the v9.0.x and 9.0.21+ agents.
– If you upgraded from much older releases (8.x or below) and manually replaced the keystore in the past, confirm it first with keytool ‑list ‑keystore …; some early builds used the Java default “changeit”.
Update the agent’s configuration so it knows the new password:
(a) Edit <Agent_Home>/config/CommunicationConfig.xml and replace the value inside .
(b) Or, from v9.0.21 onward, run ctm_keytool change_keystore_password and follow the prompts.
Start the agent (ctmagent start) and verify connectivity from Control-M/EM.
• Don’t leave it at the default
Leaving the keystore with the factory password effectively allows anyone who can read the file to export your private keys and spoof secure connections. Change it in every non-lab environment and store the new secret in a vault/manager.
• Very old (8.x) environments that were never freshly installed after an upgrade might still have a JKS file created with Java’s default password “changeit.”
• Someone in the past could have run ctm_keytool change_keystore_password or used keytool -storepasswd and updated the agent configuration.
• For hardened environments the agjks.p12 is often replaced by a certificate signed by the corporate CA—again with a custom password.
Where the agent keeps the current password
From v9.0.19 onward the value is stored (encrypted) in:
keytool -storepasswd \
-keystore agjks.p12 -storetype PKCS12 \
-storepass controlm -new <NewStrongPassword>
# then update <KeystorePassword> in CommunicationConfig.xml
# and restart the agent
ctmagent stop
ctmagent start
Bottom line: out-of-the-box agjks.p12 uses the same “controlm” default, so unless somebody already changed it that should let you in.
User
This is not the right keystore, I am thinking about the Control-M/Agent PKCS#12 agjks.p12 keystore
Assistant
For the PKCS#12 file that every Control-M/Agent creates during installation
( <AGENT_HOME>/data/security/agjks.p12 )
the factory password is exactly
changeit # all lowercase, eight characters
Why it is “changeit”
• When the Agent started shipping a PKCS#12 store instead of the older JKS file (9.0.19 and up),
BMC kept the traditional Java default password so that standard tools such as keytool and openssl could access the store without any extra logic.
• On upgrades the installer will convert the old agjks.jks (password “controlm”) into agjks.p12 and automatically re-sets the password to “changeit”, so both fresh installs and upgrades end up with the same default.
Verifying it yourself
code
cd $AGENT_HOME/data/security
keytool -list \
-storetype pkcs12 \
-keystore agjks.p12
# Password prompt → type changeit
Tell the Agent the new password
Edit <AGENT_HOME>/config/CommunicationConfig.xml and replace the content of
code
<KeystorePassword>changeit</KeystorePassword>
with the new value (plain text).
From 9.0.21 on you can also run
code
ctm_keytool change_keystore_password
and follow the prompts.
Start the Agent again
code
ctmagent start
Good practice
• Change it immediately in every non-lab environment.
• Protect the new password in a vault/secret manager—anyone who can read agjks.p12 and knows the password can extract the Agent’s private key and impersonate it.