Versions Compared

Key

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

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

...

  1. Open Command Prompt (press Win + R and type cmd).
  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.

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

    where,
              genseckey is the Generate SecretKey. This is the flag indicating the creation of a synchronous key which will become AES key.

              keystore is the location of the Keystore. If the Keystore does not exist, the tool will create a new store. 

              storetype is the type of store (JCE, PK12, JCEKS, etc).

              storepass is the password related to the Keystore. 

              keyalg is the algorithm used to create the key (AES/DES/etc).

              keysize is the size of the key.

              alias is the name given to the newly created key in which to reference when using the key.

              keypass is the password protecting the use of the key.  

      

  4. Exit from the Command Prompt.

    The Keystore is generated at the specified location.

...

  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.

...

Using Encryption Utility

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

...

  1. Extract the Encryption_Utility.zip file in the bin folder where Adeptia Suite is installed, for example, C:/Program Files/Adeptia Suite SQL/AdeptiaSuite-6.6/bin.
  2. Open the extracted folder.
  3. Open encryption-info.properties file in any Text Editor.
  4. Provide the values for the following properties.

    Property Name
    Description
    encryption.repository.pathPath of the folder to encrypt or decrypt. If you are using the utility in the Windows environment, separate the path by either using backward slash "\\" (C:\\Users\\Smith\\Desktop\\encrypt) or forward slash "/" (C:/Users/Smith/Desktop/encrypt).
    encryption.keystore.locationKeystore location. If you are using the utility in the Windows environment, separate the path by either using backward slash "\\" (C:\\Users\\Smith\\Desktop\\encrypt) or forward slash "/" (C:/Users/Smith/Desktop/encrypt).
    encryption.keystore.aliasAlias name for the Keystore.
    encryption.key.passwordPassword of the key.
    encryption.keystore.passwordPassword of the Keystore.

     

  5. Save the file.
  6. Go to the extracted folder. 
  7. For Windows, double-click encrypt.bat.
    For Linux, execute encrypt.sh on the Terminal.
    The utility starts running.
  8. To encrypt the folder, press 1.
    To decrypt the folder, press 2.



  9. The utility starts encrypting or decrypting the folder. A message appears "Folder encrypted Encryption or decrypted Decryption has successfully completed" indicates successful encryption or decryption.