Use this command to set the shared secret key value that the Manager and Sensor use to establish trust.
Type the command as shown in the syntax below. The Sensor prompts you for a secret key value. The value you enter is not shown. You will be prompted to type the value a second time to verify that the two entries match.
Note
The sharedsecretkey value you enter in the CLI to identify the Sensor must match the shared secret key entered in the Manager GUI. If the shared secret keys between the Manager GUI and Sensor CLI do not match, the Manager and Sensor cannot communicate. If you want to change the shared secret key, you must change the value in the CLI as well as the Manager GUI.
Syntax:
set sensor sharedsecretkey
At the Sensor's prompt for a secret key value, enter a case-sensitive character string between 8 and 25 characters of any ASCII text. The shared secret key value is case-sensitive (for example, IPSkey123.)
Sample Output:
On executing the command, the following messages are displayed:
When the Sensor is installed -
sensor is already installed, please do a deinstall before changing this parameterWhen Sensor is deinstalled -
intruShell@john> set sensor shared secretkeyPlease enter shared secret key:Please Re-enter shared secret key:This will take a couple of seconds, please check status on CLI
Note
If the Sensor and Manager already have a CA-signed certificate chain, the Sensor will try to establish trust with the Manager using the CA-signed certificate chain. If the CA-signed certificate does not exist in the Manager, the Sensor uses the self-signed certificate chain.