esp_encrypt

Encrypts files, passwords, and properties in the cluster using a key file.

Syntax

esp_encrypt [options...] 

Options

  • --create-key – (optional) creates a new key to be pasted into a new key file. Can create cluster and web services provider keys.
  • --encrypt <key-file> – (optional) encrypts SSL files and elements in the <node-name>.xml file using the specified key file. Takes the --text and --file arguments.
  • --re-encrypt <old-key-file> <new-key-file> – (optional) decrypts an encrypted value using the existing key and re-encrypts the value using the specified new key. Takes the --text and --file arguments.
  • --help – (optional) prints a list of possible options on the screen along with a brief explanation for each option.
  • --version – (optional) prints the esp_encrypt utility version.

Example

To encrypt the cache password in your <node-name>.xml file, use:

esp_encrypt --encrypt <cluster.key> --text <CachePassword>

For more information and use case examples, see the Configuration and Administration Guide.