Encrypt a Password

When you register a server with OCE Toolkit, you need to encrypt a password to make the server available for local use.

  1. Register an Oracle Content Management server with a cec register-server command that includes the password in plain text.
  2. Encrypt the password with the cec create-encryption-key command.
      cec create-encryption-key <file>           [alias:  cek]  
          Create an encryption key to encrypt/decrypt password for servers.
  3. Register the server again with the encryption key, which makes the server available for local development and testing.

Encrypted passwords are stored in the server connection file. A password is decrypted when you connect to a registered server.