Encrypting the shared secret on the Controller
Values exist in the Controller configuration file as plain text. You can encrypt the passwords, authentication tokens, and other values for the following properties:
client_auth_tokenlim_license_pool_passwordlim_proxy_passwordlim_proxy_usersmtp_auth_passssc_ctrl_account_usernamessc_ctrl_account_passwordssc_scancentral_ctrl_secretswagger_passwordswagger_usernameworker_auth_token
To encrypt a shared secret on the Controller:
At the command prompt, type the following:
<controller_install_dir>/bin/pwtool <pwtool_keys_file>
When prompted, type the password to encode, and then press Enter.
For the sake of security, make sure that the pwtool key file you use to encrypt secrets for the Controller is different from the pwtool key file you use to encrypt secrets on sensors.
The pwtool generates a new key stored in the file on the path specified in step 1 or reuses an existing file on the specified path.
Copy the encrypted secret, and paste it as the value for the property you want to encrypt in the
config.propertiesfile.OpenText recommends that you assign separate, unique shared secrets for the
client_auth_token,smtp_auth_pass,ssc_scancentral_ctrl_secret, andworker_auth_tokenproperties.- To create additional encrypted shared secrets, repeat steps 1 through 3 for each property value you want to encrypt.
Uncomment the following property in the
config.propertiesfile:pwtool_keys_file=<pwtool_keys_file>- Save and close the
config.propertiesfile.
See also