DB password in properies.ini

From version 2.1.4 the facility to encrypt the DB password has been added. When you upgrade to or install version 2.1.4 or higher the password will be encrypted. Ensure you have a copy of the kept safely.

The server Properties.ini passwords are encrypted by a script that runs at the very end of the installer. The way it works is the installer creates the plain text passwords in properties.ini and then the ServerPasswordEncryptor.exe ‘script’ runs and encrypts the passwords. This way if any of the passwords need to be updated the plan text password can be added into properties.ini and the ServerPasswordEncryptor.exe (which is in ProgramData next to the properties.ini) can be manually run.

The encrypted properties have ‘_ENCRYPTED’ added to the property name to differentiate it from the plain text value. So to update the DB password add:

DB_PASSWORD=securePassword

 to properties.ini and then run ServerPasswordEncryptor.exe

then the DB_PASSWORD=securePassword entry will be removed and replaced with  

DB_PASSWORD_ENCRYPTED=1vz4cpzIAv2hF/2OGMu7Sjg=

 The server is ‘backwards compatible’ is will look for the pain text version properties.ini, but will decrypt the encrypted value if there is one present.