Changing and configuring the keystore password
Do the following to change and configure the keystore passoword:
- Run the following commands in the given order to change the TSR.keystore file password and the TSR private key password:
keytool -storepasswd -new <new password> -keystore "<installed_location>/appserver/conf/tsr.keystore" -storepass <current password>
keytool -keypasswd -alias smartreporting -keypass <current password> -new <new password> -keystore "<installed_location>/appserver/conf/tsr.keystore" -storepass <new password>
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
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
Comments
To execute TSR.sh or TSR.bat user will have to navigate to /utilities/cli directory Please document the same.
Done.
Log in or register to comment.