Agent Installation and Configuration > Integrity Lifecycle Manager Agent Security > Encrypting Integrity Lifecycle Manager Agent Passwords > To change encrypted passwords on Integrity Lifecycle Manager Agent
 
To change encrypted passwords on Integrity Lifecycle Manager Agent
Once you have converted your system to use encrypted passwords, you can also use encryptPassword to change those passwords. Before changing any passwords, the application first confirms the target passwords are encrypted. If the passwords are not encrypted, an error message displays.
You can run the command to change encrypted passwords directly on the Integrity Lifecycle Manager Agent by specifying command options as follows:
encryptPassword -c|--changePassword passwordName=passwordValue
where
encryptPassword runs the application for password encryption.
-c|--changePassword specifies the option for changing existing encrypted passwords on the Integrity Lifecycle Manager Agent.
passwordName is the name of the Integrity Lifecycle Manager Agent password you want to change. For a list of the Integrity Lifecycle Manager Agent password names, see “Encrypting Integrity Agent Passwords”.
passwordValue is the value you assign to the password. Strong passwords have more than eight characters, and include both upper case and lower case.
For example:
encryptPassword -c mksagent.privatekey.password=seSamE
* 
You can also change multiple Integrity Lifecycle Manager Agent passwords on the Integrity Lifecycle Manager Agent by using space-separated command options, for example:
encryptPassword -c mksagent.privatekey.password=password1
mksagent.apisession.defaultPassword=password2
The following procedure outlines the mode for the encryptPassword application where no options are specified and you are presented with a text menu to guide you through the change process.
* 
The following procedure changes all currently encrypted passwords. If you do not want to change all your passwords, run the encryptPassword command using the options specified earlier.
1. Stop the Integrity Lifecycle Manager Agent.
2. From the installdir/bin directory, run the following command:
encryptPassword
or
./encryptPassword
The following options display:
1) Encrypt the existing passwords
2) Change the encrypted passwords
3) Exit
3. To change all existing encrypted passwords, enter 2. You are prompted to enter new passwords for all existing encrypted passwords. Any conversion back to a plain password system must be configured manually. Once the application has completed, a confirmation message displays.
4. Restart the Integrity Lifecycle Manager Agent.