Installing Servers and Agents / SSL Configuration |
To use mutual authentication, the server and agents must exchange keys. You export the server key (as a certificate) and import it into the agent keystore, then reverse the process by exporting the agent key and importing it into the server keystore. When using an agent relay, the relay must swap certificates with the server and with the remote agents that will use the relay.
Property Settings Required Before Exchanging Keys
Before exchanging keys, ensure that the following properties are set:
Property | Location | Value |
---|---|---|
server.jms.mutualAuth | in the server'sserver_install/conf/server/installed.properties file | true |
For each agent:
locked/agent.mutual_auth |
in the agent'sagent_install\conf\agent\installed.properties file | true |
For each agent relay:
agentrelay.jms_proxy.secure |
in the relay'srelay_install\conf\agentrelay.properties file | true |
For each agent relay:
agentrelay.jms_proxy.mutualAuth |
in the relay'srelay_install\conf\agentrelay.properties file | true |
To exchange keys:
To connect an agent relay with the remote agents that will use it, swap certificates as explained above: each remote agent must import the certificate for the relay it will use, and the relay must import the certificate from each remote agent that will use it. Agents using relays do not have to swap certificates with the server.
To list the certificates loaded into a keystore, run the following from within the keystore directory:
keytool -list -keystore ud.keystore -storepass changeit