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.
Note: The method as documented here requires Spectrumâ„¢ Technology Platform patch 2019.1 S06.
Generate an encrypted string for the default password, p****s.

Specify the command:

java -jar password-utility-19.1.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 JMX console through the encryptString property. This request takes the format MBean operation: invoke method encryptString on MBean servername:manager=EncryptTextManager.