Changing and configuring the keystore password


Do the following to change and configure the keystore passoword:

  1. Run the following commands in the given order to change the TSR.keystore file password and the TSR private key password:
    1. keytool -storepasswd -new <new password> -keystore "<installed_location>/appserver/conf/tsr.keystore" -storepass <current password>

    2. keytool -keypasswd -alias smartreporting -keypass <current password> -new <new password> -keystore "<installed_location>/appserver/conf/tsr.keystore" -storepass <new password>

  2. Navigate to the <TrueSight Smart Reporting - Platform installation directory>/utilities/cli directory and run the following command to configure the keystore password.

    Windows

    TSR.bat configurekeystorepassword -d <HostName> -p <PortNumber> -u <TssrAdminUserName> -w <TssrAdminUserPassword> -cp <CurrentKeystorePassword> -np <NewKeystorePassword> -s

    Linux

    ./TSR.sh configurekeystorepassword -d <HostName> -p <PortNumber> -u <TssrAdminUserName> -w <TssrAdminUserPassword> -cp <CurrentKeystorePassword> -np <NewKeystorePassword> -s
    Syntax and parameters for this command...

    Syntax

    configurekeystorepassword -d <HostName> -p <PortNumber> -u <TssrAdminUserName> -w <TssrAdminUserPassword> -cp <CurrentKeystorePassword> -np <NewKeystorePassword> -s

    where angle brackets (< >) indicate a user-defined variable value.

    Parameters

  3. Restart the TrueSightSmartReporting service.

Example inputs for configuring the keystore password

The following example provides the input to configure the keystore password:

Windows

TSR.bat configurekeystorepassword -d localhost -p 8443 -u tssradmin -w admin12345 -cp password1234 -np password6789 -s

Linux

./TSR.sh configurekeystorepassword -d localhost -p 8443 -u tssradmin -w admin12345 -cp password1234 -np password6789 -s

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*