Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that before you can use the unlockKeystore command, you need to ensure that the following lines are added to <WASCE_HOME>/var/config/config-substitutions.properties:

Code Block
_keyStoreName_=_keyStoreEncryptedPassword_
_keyAlias1_=_keyAlias1EncryptedPassword_
_keyAlias2_=_keyAlias1EncryptedPassword_<keyStoreName>=<keyStoreEncryptedPassword>
<keyAlias1>=<keyAlias1EncryptedPassword>
<keyAlias2>=<keyAlias1EncryptedPassword>
...

Where *keyStoreName

  • <keyStoreName> is the name of the keystore.

...

  • <keyStoreEncryptedPassword> is the encrypted password for the keystore, which can be generated by using the encrypt command. When you copy and paste the generated encrypted password to <WASCE_HOME>/var/config/config-substitutions.properties, there should be no space in the encrypted password string.

...

  • <keyAlias1>,

...

  • <keyAlias2> are the names of the private keys in the keystore.

...

  • <keyAlias1EncryptedPassword>,

...

  • <keyAlias2EncryptedPassword> are the encrypted passwords for the private keys, which can also be generated by using the encrypt command.

Examples:
Use this syntax to unlock the keystore whose name is mykeystore

...