Log in to as a root user to Protected Resource 2.
Run the cypt_util utility.
The utility encrypts the password.
# cd /opt/SUNWam/agents/bin # ./crypt_util web4gent2 BXxzBswD+PZdMRDRMXQQA==
Copy the encrypted password, and save it in a text file.
Edit the AMAgent.properties file.
# cd /etc/opt/SUNWam/agents/es6/ config/_opt_SUNWwbsvr_https-ProtectedResource-2.example.com |
Make a backup of AMAgent.properties you make the following change in the file:
com.sun.am.policy.am.password = webagent-2 com.sun.am.policy.am.password = BXxzBswD+PZdMRDRMXQQA==
Use the encrypted password obtained in the previous step.
Save the file.
Restart Web Server 2.
# cd /opt/SUNWwbsvr/https-ProtectedResource-2.example.com # ./stop; ./start