Note |
---|
|
The system encrypt encrypts sensitive data in data base with a secret key generate on install. Sometimes a new secret key generation is required or a deployment of an existing (stored in the database/files or sent via HTTP/S requests) with a random encryption key generated during the installation.
Use the following procedure to generate a new random encryption key or to deploy a provided encryption key.
To create a new secret random encryption key, run the following command:
Code Block | ||
---|---|---|
| ||
/app/scripts/generatereplace_encryption_secreteskey.sh --new |
To deploy existing secret a provided encryption key, run the following command:
Code Block |
---|
/app/scripts/generatereplace_encryption_secretekey.sh --deploy <Path to secret key> |
Utility will end with this message if everything run correctly:
Code Block |
---|
2021-04-18_15-20-00: INFO Configuration ended successfullya provided encryption key file> |