After you install the agent, you can change the agent profile password, if required for your deployment.
On the OpenSSO Enterprise server:
On the server where the Tomcat 6.0 version 3.0 agent is installed:
In the agent profile password file, replace the old password with the new unencrypted password.
Change to the PolicyAgent-base/bin directory.
Encrypt the new password using the agentadmin --encrypt command following this syntax.
agentadmin --encrypt agent-instance password-file
# ./agentadmin --encrypt Agent_001 tomcat6agentpw
The agentadmin --encrypt command returns the new encrypted password. For example:
In the agent-instance/config/OpenSSOAgentBootstrap.properties file, set the following property to the new encrypted password from the previous step. For example:
Restart the Tomcat 6.0 instance that is being protected by the policy agent.