Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When the Process Flow executes, all the temporary files are stored in the repository folder. For security reasons, you may want to secure your repository folder from an unauthorized access. Adeptia facilitates you to secure your repository by encrypting the data at rest. With this feature, your repository gets stored in an encrypted form.

...

  1. Open Command Prompt.
  2. Go to the directory where JRE is installed (for example, C:/Program Files/Java/jre8/bin).
  3. Run the following Keytool command to create a Keystore.

    For Windows:

    keytool.exe -genseckey -keystore <Keystore_path> -storetype <store_type> -storepass <Keystore_password> -keyalg AES -keysize 256 -alias <alias_name> -keypass <Key_password>

    For Linux:

    keytool -genseckey -keystore <Keystore_path> -storetype <store_type> -storepass <Keystore_password> -keyalg AES -keysize 256 -alias <alias_name> -keypass <Key_password>

    where,
              <Keystore_path> is the location of the Keystore. If the Keystore does not exist, the tool will create a new store. 

              <store_type> is the type of store. Only JCEKS is supported.

              <Keystore_password> is the password related to the Keystore. 

              <alias_name> is the name to be given to the newly created key.

              <Key_password> is the password protecting the use of the key.  

    The Keystore is generated at the specified location.  

  4. Exit from the Command Prompt.

...

Before enabling Encrypting data at rest feature, it is advisable to run the Encryption utility to encrypt the existing records present in the repository. If you do not encrypt the data then after enabling the feature you will find the data in the repository in the plain text creating hindrance in the encrypted data and plain text. If you want to

To encrypt the existing records present in the Process Flow repository (in plain text) then do the following:

  1. Copy all the records in a separate folder. 
  2. Encrypt the folder using the Encryption Utility. 
  3. After the records are encrypted successfully, copy the records of the encrypted folder in the Process Flow repository folder.repository.

After you encryt 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. 

Using Encryption Utility

You can encrypt or decrypt the repository using Encryption Utility. To encrypt or decrypt, you need to configure the encryption properties in the encryption-info.properties file.

...