Encrypting the shared secret on a client
Passwords exist in the OpenText ScanCentral SAST client configuration file as plain text. You can encrypt the client_auth_token property value.
To encrypt a shared secret on a client:
At the command prompt, run one of the following commands:
For an embedded client installed with OpenText SAST, run:
<sast_install_dir>/bin/pwtool <pwtool_keys_file>
For a standalone client, run:
<client_install_dir>/bin/pwtool <pwtool_keys_file>
When prompted, type the password to encode, and then press Enter.
The pwtool generates a new key in the file on the specified path or reuses an existing file and prints the encrypted password.
Open the
client.propertiesfile in a text editor and update the values for the following properties:Copy the new encrypted secret, and paste it as the value for the
client_auth_tokenproperty.Add the name of your pwtool keys file:
pwtool_keys_file=<pwtool_keys_file>
- Save and close the
client.propertiesfile.
See also