4.5 Encrypting the database.properties file

Note: This step should be performed after creating or updating the database as the database utility programs require the database.properties file to be unencrypted.
Once the encryption provider has been configured, it can be used to encrypt the database connection URL in the database.properties file. To encrypt the information in the database.properties file, use the encryptdbinfo script in the install directory:
cd /opt/connect/kc/install
sh encryptdbinfo.sh -migrate    
            
After the script runs, the database.properties file will contain a new property named database.connect.encrypted, which is an encrypted version of the database.connect property. Once you have verified that this property has been created, manually remove the unencrypted database.connect property from the database.properties file.