Generate encryption strings

There are two methods for generating encryption strings.

Note: If you have a non-default password for your CA Signed Certificate/KEYSTORE FOR HTTPS configuration, you will only be able to use the encrypted string for the non-default password in Spectrum-Container properties. The server may not start if you use plain text for the for the non-default password.

Method one

Use the *.jar file utility, SpectrumDirectory/server/bin/password-utility.jar to generate the encryption string for the Spectrum default password.

Note: If you run the encryption of the same password multiple times, this will generate different strings. This provides additional encryption strength and security.
Generate an encrypted string for the default password, p****s.

Specify the command:

java -jar password-utility.jar -p password

where:

  • password is your site's password


Sample output:


###########################################################
############ Encrypted String for the password ############
###########################################################
            9yOYoZ9W2aAF2Baapa5wIxCMNQ/9TZFP

Method two

You can also generate encryption strings from the Spectrum JMX console through the encryptString property. This request takes the format MBean operation: invoke method encryptString on MBean servername:manager=EncryptTextManager.