To import the web-service gateway certificate from M&R collector hosts into the Failover Manager jre keystore:
-
On the VMware M&R web-service gateway host, for each of the gateway services (A and B), perform Steps 2a-b.
-
Export web-service gateway certificate:
# /opt/APG/Java/Sun-JRE/<version>/bin/keytool -export -keystore /opt/APG/Tools/Webservice-Gateway/Default/conf/keystore -alias gateway -rfc > W4Ngateway-<A|B>.cert
-
Copy the W4Ngateway-<A|B>.cert file to the machine where the Failover Manager is installed.
-
In the SAM installation where Failover Manager resides, back up the existing jre cacerts file. Type:
# cp /opt/InCharge/SAM/smarts/jre/lib/security/cacerts /opt/InCharge/SAM/smarts/jre/lib/security/cacerts-BACKUP
-
In the SAM installation where Failover Manager resides, import the W4Ngateway-<A|B>.cert to JVM cacerts file:
# /opt/InCharge/SAM/smarts/jre/bin/keytool -import -file W4Ngateway.cert -alias W4Ngateway-<A|B> -keystore /opt/InCharge/SAM/smarts/jre/lib/security/cacerts
-
After importing both certificates, stop and start the Failover Manager. “Start the Failover Manager” on page 57 provides start and stop commands for the Failover Manager.