Enabling TLS server certificate validation between the Remedy SSO Server and the Application Server
You can use Transport Layer Security (TLS) 1.2 with server certificate validation to secure communication between the Application Server and the Remedy Single Sign-On Server, which is an authentication component.
Complete the following steps to enable server certificate validation:
I. Obtain the security certificates
Obtain certificates that are signed by a certificate authority (CA) for the Remedy Single Sign-On Server and the Application Server. For information about obtaining certificates, see the following topics:
II. Install the security certificates
The Application Server uses the cotruststore.ts truststore to communicate with other components. This truststore is bundled along with the server installation and is located in the <Application Server Installation Directory>/secure directory.
To install the certificates:
- Log on to the host computer where the Application Server is installed.
Run the following command to add the directory path to the PATH environment variable. The default Application Server installation directory is /opt/bmc/BCO.
# Linux
export PATH=<Application Server Installation Directory>/jre/bin:$PATHNavigate to the directory where the cotruststore.ts truststore file is located.
<Application Server Installation Directory>/secure- Copy the RootCA.cer, intermediateCA.cer, TSCO.cer, and RemedySSO.cer certificates to this directory.
- Copy cotruststore.ts truststore file and rename it as cotruststore-update.ts.
Run the following command to list all the keys in the cotruststore-update.ts truststore file:
keytool -list -keystore <Application Server Installation Directory>/secure/cotruststore.ts -storepass changeit -storetype JKS
Run the following command to delete the existing certificate alias, dummy, if any:
keytool -delete -alias dummy -keystore <Application Server Installation Directory>/secure/cotruststore-update.ts -storepass changeitRun the list command again to verify that the aliases are deleted:
keytool -list -keystore cotruststore-update.ts -storepass changeitRun the following command to import the Application Server certificates into the cotruststore-update.ts truststore:
keytool -importcert -trustcacerts -alias root -keystore cotruststore-update.ts -storepass changeit -file RootCA.cer#When you are prompted with the Trust this certificate question, type Yes.
keytool -importcert -trustcacerts -alias intermediateCA -keystore cotruststore-update.ts -storepass changeit -file intermediateCA.cer#When you are prompted with the Trust this certificate question, type Yes
keytool -v -importcert -alias coserver -keystore cotruststore-update.ts -storepass changeit -storetype JKS -file TSCO.cer -trustcacerts#When you are prompted with the Trust this certificate question, type Yes
Run the following command to import the Remedy SSO Server certificate into the truststore of the Application Server:
keytool -import -alias remedysso -file RemedySSO.cer -keystore cotruststore-update.ts -storepass changeit- Navigate to the directory where the cotruststore.ts truststore is located.
<Application Server Installation Directory>/secure - Rename the cotruststore.ts truststore file as cotruststore.ts.orig.
- Copy cotruststore-update.ts truststore file and rename it as cotruststore.ts.
- Restart the Application Server.
III. Configure the components to enable TLS
Complete the following configuration steps on the Application Server to enable TLS:
Navigate to the <Server Installation Directory>/tools directory and run the switchTLSmode.pl script.
#Example
perl switchTLSmode.pl -on -tspwd -flow auth- When you are prompted, enter the password to access the truststore.
TLS 1.2 with server certificate validation is enabled between the Remedy Single Sign-On Server and the Application Server.
Where to go from here
Import the TrueSight Presentation Server certificate into the truststore of Application Server. For more information, see Enabling-TLS-server-certificate-validation-between-the-Presentation-Server-and-the-Application-Server.