When EnterWorks is installed, all utilities are encrypted. It is possible to configure a utility to run unencrypted, but it is not recommended. A utility can be configured to run encrypted or unencrypted, independently of whether the other utilities are encrypted. If a utility is configured to use encrypted mode, all the encryptable settings in the utility's configuration file must be encrypted. If it is using unencrypted mode, all encryptable settings must be unencrypted.
Utilities use EnterWorks encryption
To encrypt a string using the EnterWorks encryption method:
- Use File Explorer to move to:
<drive>:\Enterworks\enable2020\services\bin\
- Run the following command in Windows command prompt:
Include the double quotes. Do not include the < > symbols.enable2020-security.exe enc "<enter-string-here>"
For example, if your system user login name is:
TheBestAdminLoginName
to encrypt the system user login name, you would run the command:
enable2020-security.exe enc "TheBestAdminLoginName"
Configure a utility to be encrypted or unencrypted
To encrypt a utility:
- Move to:
<drive>:\Enterworks\Utilities\<utility-name>
- Open the utility's configuration file in an editor:
<utility-name>-config.json
- If you are encrypting the utility, set:
or if you are decrypting the utility, set:"encryptedMode": "true"
"encryptedMode": "false"
- Search the configuration file for any of the following settings. If you are encrypting the utility, use EnterWorks encryption to encrypt the setting value. If you are unencrypting the utility, use the unencrypted value. Not all settings in the configuration file need to be encrypted. Not all of the settings in the table below appear in all utility configuration files.
-
Setting Encrypt this string as one string "rabbitServer": "<rabbit-user-name>:<rabbit-user-password>:<rabbit-host>" <rabbit-user-name> :<rabbit-user-password>:<rabbit-host> "systemLogin": "<system-user-login-name>" <system-user-login-name> "systemPassword": "<system-user-login-password>" <system-user-login-password> "awsAccessKeyId": "<aws-access-key-id>" <aws-access-key-id> "awsAccessKey": "<aws-access-key>" <aws-access-key> "azBlobAccessKey": "<azure-blob-access-key>" <azure-blob-access-key> - Restart all EnterWorks services on all servers.