Encrypting the shared secret on a sensor
Values exist in the OpenText ScanCentral SAST sensor configuration file as plain text. You can encrypt the worker_auth_token property value.
To encrypt a shared secret on a sensor:
At the command prompt, run the following command:
<sast_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 sensors is different from the pwtool key file you use to encrypt secrets on the Controller.
The pwtool generates a new
pwtool.keysfile to<pwtool_keys_file>and prints a new encrypted secret to the console.Open the
worker.propertiesfile in a text editor and update the values for the following properties:Copy the encrypted secret and paste it as the value for
worker_auth_tokenproperty.Add the name of your pwtool keys file:
pwtool_keys_file=<pwtool_keys_file>
- Save and close the
worker.propertiesfile.
See also