Encrypt or Unencrypt a Utility - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997000

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:
  1. Use File Explorer to move to:
    <drive>:\Enterworks\enable2020\services\bin\
  2. Run the following command in Windows command prompt:
    enable2020-security.exe enc "<enter-string-here>"
    Include the double quotes. Do not include the < > symbols.

    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:

  1. Move to:
    <drive>:\Enterworks\Utilities\<utility-name>
  2. Open the utility's configuration file in an editor:
    <utility-name>-config.json
  3. If you are encrypting the utility, set:
    "encryptedMode": "true"
    or if you are decrypting the utility, set:
    "encryptedMode": "false"
  4. 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.
  5. 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>
  6. Restart all EnterWorks services on all servers.