Data Encryption

Data encryption can be enabled for Open Distro (TxnStore) and RabbitMQ (Messaging) folders so that only the System User has access to these folders. 


Run the following commands to enable data encryption:

  • Make sure the respective folders are empty before marking them for data encryption and then run the below commands as a System User:
    • For Open Distro - cipher /E <<AssistEdge>>\data\TxnStore\data\
    • For RabbitMQ - cipher /E <<AssistEdge>>\data\Messaging\db\
  • If you need to copy, remove or perform any other operation related to these folders, you must do it as a System User else, the System User would not be able to access the required files.

 

NOTE: 

  • To start command prompt as System User, open the Command Prompt with Administrator rights and then run command - <<AssistEdge>>\runtime\generic\paexec\paexec.exe –s cmd :
  • You can run whoami command in the Command Prompt to know with which user Id the Command Prompt is running.

 

  • If data already exist in the respective folders, run the following commands as System User:
    • For Open Distro- cipher /E /S <<AssistEdge>>\data\TxnStore\data\
    • For RabbitMQ - cipher /E /S <<AssistEdge>>\data\Messaging\db\
  • To check encryption status of the respective folders, run the following commands as System User:
    • For Open Distro- cipher /C <<AssistEdge>>\data\TxnStore\data\
    • For RabbitMQ - cipher /C <<AssistEdge>>\data\Messaging\data\
  • To remove data encryption on the respective folders, run the following commands as System user:
    • For Open Distro- cipher /D <<AssistEdge>>\data\TxnStore\data\
    • For RabbitMQ - cipher /D <<AssistEdge>>\data\Messaging\db\