How to import a third party signed SSL certificate for a Windows OS based Infoscale Operations Manager's Web Console

book

Article ID: 1000766122

calendar_today

Updated On:

Description

To import a third-party SSL certificate on a Windows OS based IOM Management Server, the below steps can be performed.

Note: The steps below are created assuming IOM is installed in the default directory: C:\Program Files\Veritas\ . If IOM is installed on a non-default path, ensure the below commands are modified accordingly. 

 

1) Prepare the environment

Create a folder as Temp (if it does not exist) in C:\ drive with the below sub-folders in it:

  • certs
  • keys
  • CSR
  • config
  • tomcat     

 

2) Backup the existing keystore configuration

Take a backup of the original .keystore file from C:\Program Files\Veritas\VRTSsfmcs\webgui\tomcat\cert to the C:\Temp\tomcat path (created from Step #1)

 

3) Create a 2048 bit keystore using with the keytool utility

A new keystore file with a validity of 1 year can be generated using the below command:

"C:\Program Files\Veritas\VRTSsfmcs\webgui\jre\bin\keytool.exe" -genkey -alias tomcat -keyalg RSA -validity 365 -keypass changeit -keystore "C:\Temp\tomcat\.new_keystore" -storepass changeit -dname "C=US, ST=CA, L=Mountain View, O=Veritas, CN=192.168.10.111, CN=server1, CN=server1.test.lab" -keysize 2048

Note #1: The above values for Country (C), State (ST), Locality (L), Organization (O) and Common Name (CN)  are for illustration purpose only. These values should match the IOM Management Server's environment

Note #2: Ensure to use the password: changeit for this new .keystore file 

 

4) Create the Certificate Signing Request (CSR) using the new keystore:

The CSR can be generated using the below command

"C:\Program Files\Veritas\VRTSsfmcs\webgui\jre\bin\keytool.exe" -certreq -keyalg RSA -alias tomcat -file "C:\Temp\CSR\iom.csr" -keystore "C:\Temp\tomcat\.new_keystore"

The command would provide the below prompt. 

Enter keystore password:

Enter the password as changeit (set from Step #3 while creating the new keystore)

 

5) This CSR must be sent to the Certificate Authority (CA) to be signed.

 

6) Importing Signed Certificate(s) into the new keystore

At this point, the IOM console is still running with the old/original certificates.

Once the signed Certificates are received from the CA, below commands can be used to import them into the keystore generated from Step #3

   6a) If there exits a Root, Intermediate and Server certificate then place them in the C:\Temp\certs folder and import them using the below commands. The keystore password is changeit (Set from Step #3) whenever prompted.

"C:\Program Files\Veritas\VRTSsfmcs\webgui\jre\bin\keytool.exe" -import -trustcacerts -alias root -keystore "C:\Temp\tomcat\.new_keystore" -file "C:\Temp\certs\<root_cert_file_name_with_the_file_extension>"

Enter keystore password:

Trust this certificate? [no]:  yes

Certificate was added to keystore

 

"C:\Program Files\Veritas\VRTSsfmcs\webgui\jre\bin\keytool.exe" -import -trustcacerts -alias intermediate -keystore "C:\Temp\tomcat\.new_keystore" -file "C:\Temp\certs\<intermediate_cert_file_name_with_the_file_extension>"

Enter keystore password:

Trust this certificate? [no]:  yes

Certificate was added to keystore

 

"C:\Program Files\Veritas\VRTSsfmcs\webgui\jre\bin\keytool.exe" -import -trustcacerts -alias tomcat -keystore "C:\Temp\tomcat\.new_keystore" -file "C:\Temp\certs\<server_cert_file_name_with_the_file_extension>"

Enter keystore password:

Trust this certificate? [no]:  yes

Certificate was added to keystore

   

    6b) If the certificate is a bundled/single certificate (Eg: PKCS #7 format) that contains the root, intermediate and server certificate in a single cert file, then place that certificate in the C:\Temp\certs folder and import it using the below command

keytool -import -trustcacerts -alias tomcat -keystore "C:\Temp\tomcat\.new_keystore" -file "C:\Temp\certs\<cert_file_name_with_the_file_extension>"

Enter keystore password:

Trust this certificate? [no]:  yes

Certificate was added to keystore

 

7) Replacing the Web Console Certificate for the IOM server  

With the signed SSL certificate now imported in the new keystore, the below steps need to be performed to allow the IOM Web console to use it.

      7a) Stop the Veritas Infoscale Operations Manager service from services.msc

      7b) Rename the original .keystore file at C:\Program Files\Veritas\VRTSsfmcs\webgui\tomcat\cert to .keystore_orig

      7c) Copy the new keystore (.new_keystore) from C:\Temp\tomcat\.new_keystore to C:\Program Files\Veritas\VRTSsfmcs\webgui\tomcat\cert and rename it to .keystore

      7d) Start the Veritas Infoscale Operations Manager service from services.msc

Note: The service may take a couple of minutes to start owing to the configuration change. 

 

8) Post configuration checks

Once the keystore replacement is completed, launch the IOM console and it should now show the Connection status as Connection is Secure

image.png

Clicking on the > symbol to view the Certificate details should reflect the newly added signed Certificate. 

Note: If the IOM console fails to launch or the Veritas Operations Manager Service gets stuck in Starting state, check the tomcat.log located at C:\ProgramData\Symantec\VRTSsfmcs\logs

Issue/Introduction

When logging into the Infoscale Operations Manager (IOM), the Web Console URL show as Not secure

image.png