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

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

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

    Parameters

    ParameterDescription

    -cp

    The current keystore password.
    -d

    Host name of the TrueSight Smart Reporting - Platform server.

    -hHelp
    -npThe new keystore password
    -p

    Port number of the TrueSight Smart Reporting - Platform server.

    -sThe HTTP secure protocol.
    -u

    The TrueSight Smart Reporting - Platform administrator user name.

    -w

    The TrueSight Smart Reporting - Platform administrator password.

  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


Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Ashfaq Chataiwala

    To execute TSR.sh or TSR.bat user will have to navigate to /utilities/cli directory Please document the same.

    Jul 22, 2020 06:53
    1. Mukta Kirloskar

      Done.

      Jul 22, 2020 06:59