When any Template executes, all temporary files are stored in a repository folder. To prevent it from misuse, you may want to secure the folder. You can secure the repository folder by encrypting data in the folder.
To encrypt the data, you need to create and configure a Keystore.
Creating a Keystore using Keytool
Open Command Prompt.
Go to the directory where JRE is installed.
Run the following Keytool command to create a Keystore.
Click Update. You'll see a message saying 'Properties saved successfully'.
Click Save.
After you enable encryption, the data stored before you enabled the encryption remains in plaintext. Therefore, before enabling the encryption it is advisable to run the encryption utility to encrypt the existing data present in the repository. If you do not encrypt the existing data, before enabling the encryption, repository data displayed on the GUIs may not be displayed correctly.
If due to any reason if you have not encrypted the existing data and have executed the transaction with encryption enabled, then in the repository folder the data will be a combination of plaintext and encrypted text. Therefore, you must encrypt plaintext separately. To do this:
Move all the plaintext data in a separate folder.
Encrypt the folder using the Encryption utility.
After the records are encrypted successfully, copy the data of the encrypted folder in the repository.
After you have encrypted the data, enable the Encrypting data at rest feature. When the utility executes, you will have the encrypted data in the repository including the previous one.