To set an encrypted password in the nsqjdbcmk.properties file, do the following:
- Run the nsqjdbcmk utility to encrypt the password. Examples are provided below.
On Windows:C:\nastel\AutoPilotM6\sql-scripts\nsqjdbcmk>nsqjdbcmk.bat -p test$123
QQVfEwEAjQ+gE4D1KCCYYg==
On Linux systems, you must use single quotes around the password:[AP_HOME]/sql-scripts/nsqjdbcmk/./nsqjdbcmk.sh -p 'test$123'
Or:
$ export PWD='test$123'
./nsqjdbcmk.sh -p $PWD
- Open the nsqjdbcmk.properties file and comment out the following lines
nsqjdbcmk.apwmq.password = test$123
and add the following properties:
nsqjdbcmk.permits.password = test$123nsqjdbcmk.apwmq.encrypted.password = QQVfEwEAjQ+gE4D1KCCYYg==
nsqjdbcmk.permits.encrypted.password = QQVfEwEAjQ+gE4D1KCCYYg==