After you have changed the agent profile in Access Manager Console, assign the values for the agent profile name and the agent profile password to the corresponding properties in the web agent AMAgent.properties configuration file. This process involves the following:
Adding the agent profile name to the following property in the web agent AMAgent.properties configuration file: com.sun.am.policy.am.username
Encrypting the agent profile password (shared secret) using the encryption utility
Adding the encrypted agent profile password (shared secret) to the following property in the web agent AMAgent.properties configuration file: com.sun.am.policy.am.password
The procedures specified in the preceding list are detailed in the platform-specific task descriptions that follow. Implement the steps according to the platform on which the web agent is installed.
Update the following property in the web agent AMAgent.properties configuration file:
com.sun.am.policy.am.username
Replace the value of this property with the agent profile name you just updated in the Access Manager Console.
Go to the following directory:
PolicyAgent-base/bin
Encrypt the new password. For example, on Solaris systems:
# ./crypt_util agent-profile-password
where agent-profile-password represents the agent profile password you just updated in the Access Manager Console.
Windows systems: Use the cryptit script to encrypt the password.
Copy the output from the crypt_util command and paste it as the value for the following property:
com.sun.am.policy.am.password
Restart the Apache HTTP Server 2.2 web container and try to access a resource protected by the agent.
If the agent is redirected to Access Manager, this indicates the above steps were executed properly.