Installation guide

Register a Trusted Host in GUI or Console Mode
Chapter 3: Install a Web Agent on a UNIX System 69
Re-register a Trusted Host Using the Registration Tool (UNIX)
When you install a Web Agent on a server for the first time, you are prompted to
register that server as a trusted host. After the trusted host is registered, you do
not have to re-register with subsequent Agent installations. There are some
situations where you may need to re-register a trusted host independently of
installing an Agent, such as the following:
To rename the trusted host if there has been a change to your SiteMinder
environment.
To register a trusted host if the trusted host has been deleted in the
Administrative UI.
To register a trusted host if the trusted host policy objects have been deleted
from the policy store or the policy store has been lost.
To change the shared secret that secures the connection between the
trusted host and the Policy Server.
To recreate the SmHost.conf configuration file if it is lost.
To overwrite an existing trusted host without deleting it first.
The registration tool, smreghost, re-registers a trusted host. This tool is installed
in the web_agent_home/bin directory when you install a Web Agent.
web_agent_home
Indicates the directory where the Web Agent is installed.
Default (Windows installations): C:\Program Files\CA\webagent
Default (UNIX installations): /opt/ca/webagent
To re-register a trusted host using the registration tool
1. Open a command prompt window.
2. Ensure that the library path environment variable contains the path to the
Web Agent‘s bin directory.
3. Enter the following two commands:
library_path_variable=${library_path_variable}:web_agent_home/bin
export library_path_variable
For example, for Solaris systems enter the following two commands:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/ca/webagent/bin
export LD_LIBRARY_PATH
The following list shows the different variables for each operating system:
Solaris
LD_LIBRARY_PATH