Modifying the encryption key


This command changes the default encryption key that is present in the appserver > conf folder:

modifyencryptionkey

Windows

TSR.bat modifyencryptionkey -u <username> -w <password> -d <hostname> -p <portNumber> -key <sixteenCharacterKey>

Linux

./TSR.sh modifyencryptionkey -u <username> -w <password> -d <hostname> -p <portNumber> -key <sixteenCharacterKey>


When you change the default encryption key, all the earlier encrypted passwords in TrueSight Smart Reporting are updated to the new encrypted password.

Syntax

This command has the following syntax:

modifyencryptionkey -u <username> -w <password> -d <hostname> -p <portNumber> -key <sixteenCharacterKey>

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

Parameters

The following table describes the parameters used in the syntax:

Example inputs

The following example provides the input to modify encryption key in TrueSight Smart Reporting:

modifyencryptionkey -u admin -w admin12345 -d localhost -p 8443 -key erfederfefrdeftg

Windows

TSR.bat modifyencryptionkey -u admin -w admin12345 -d localhost -p 8443 -key erfederfefrdeftg

Linux

./TSR.sh modifyencryptionkey -u admin -w admin12345 -d localhost -p 8443 -key erfederfefrdeftg

 

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

TrueSight Smart Reporting 19.01