On the OpenSSO Enterprise server:
On the server where the Apache HTTP Server 2.0.x 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. For example:
# cd /opt/web_agents/apache_agent/bin
Encrypt the new password using the agentadmin program. For example:
#./agentadmin --encrypt Agent_001 /tmp/apache2agentpw
Agent_001 is the agent instance whose password you want to encrypt.
passwd is the password file in the /tmp directory.
The agentadmin program returns the new encrypted password. For example:
The encrypted value is: /54GwN432q+MEnfh/AHLMA==
In the agent-instance/config/OpenSSOAgentBootstrap.properties file, set the following property to the new encrypted password from the previous step. For example:
com.sun.identity.agents.config.password=/54GwN432q+MEnfh/AHLMA==
Restart the Apache HTTP Server instance that is being protected by the policy agent.