Revision as of 20:18, December 19, 2016 by KrisMcG (talk | contribs) (Created page with "=Password encryption= For added security, consider encrypting your passwords in the '''application.yaml''' file. In the '''serverSettings''' section of the '''application.y...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Password encryption

For added security, consider encrypting your passwords in the application.yaml file.

In the serverSettings section of the application.yaml file, the following settings can be encrypted:

  • opsUserPassword
  • cmePassword
  • jksPassword
  • webDAVPassword


In the cassandraCluster section of the application.yaml file, the following settings can be encrypted:

  • password

Procedure: Encryping passwords

Start

  1. Open the application.yaml file.
  2. For each field that you want to be encrypted, prefix the field value with '"CRYPT:"'. For example:
    ...
      opsUserName: ops
      opsUserPassword: CRYPT:an03xPrxLAu9p==
      ...
  3. Run the GWS application with the '"--encrypt"' parameter followed by the password you need to encrypt. For example:
    $ java -jar gws.jar --encrypt ops
    CRYPT:an03xPrxLAu9p==
    $ _
    The server won't actually start, the application only encrypts the supplied password and then quits. This feature is only supported for JAR (Spring Boot) distributable.
Comments or questions about this documentation? Contact us for support!