How to change the Spectrum keystore password used by SSL?

book

Article ID: 184090

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How to change the Spectrum keystore password used by SSL?

Environment

Release : 10.3.x , 10.4.x

Component : Spectrum OneClick

Resolution

Below are the commands to change the default keystore password.

1. Make a backup of the cacerts file.

2. Run the following commands to change the keystore password and key password since the store is not empty:

cd <SPECROOT>/Java/bin

./keytool -storepasswd -new <new_keystore_pass> -keystore <SPECROOT>/custom/keystore/cacerts -storepass <current_keystore_pass>

./keytool -keypasswd -alias <alias> -keypass <currentPass> -new <newPass> -keystore <SPECROOT>/custom/keystore/cacerts

3. Update the password in the <SPECROOT>/tomcat/conf/server.xml file.

4. Stop and restart tomcat.