The encryption process uses the secret to encrypt passwords contained in the security configuration files. The first line of the serverConnect.conf, clientConnect.conf, and brokerConnect.conf files indicates the appropriate field to which encryption is applied.
The first line in the file must read as follows. It must begin with a pound sign (#).
#<encrypted field>:1.0:<n>
The value n refers to the position of the Password field in the configuration file’s record and should not be changed:
-
For serverConnect.conf, this value is 3.
-
For clientConnect.conf and brokerConnect.conf, this value is 4.
To disable encryption, add a second pound sign (#) at the beginning of the line.
Note:Installation encrypts the password fields in the files by using the default secret. The encrypted files reside in BASEDIR/smarts/local/conf.