Change the EPIM or EPX Database Password

EnterWorks has two encryption methods:

  • EPIM encryption, which is performed by executing:

    <drive>:\Enterworks\EnableServer\bin\getEncryptedString.bat
  • EPX encryption, which is performed by executing:

    <drive>:\Enterworks\EPX\bin\getEncryptedString.bat

Both of these scripts are used to encrypt the passwords to the EPIM and EPX databases. In some places, however:

  • EPIM encryption is used to encrypt both the EPIM and EPX passwords, which is indicated as follows:

    • <EPIM-encrypted-EPIM-password>

    • <EPIM-encrypted-EPX-password>

  • EPX encryption is used to encrypt both the EPIM and EPX passwords, which is indicated as follows:

    • <EPX-encrypted-EPIM-password>

    • <EPX-encrypted-EPX-password>

Unencrypted passwords are indicated as:

  • <unencrypted-EPIM-password>

  • <unencrypted-EPX-password>

The procedure for changing the database password will update the create-service scripts that re-register the microservices. They are in:

<drive>:\Enterworks\enable2020\services\install

If your installation is spread across multiple servers, some files will be located on different servers. Perform the following steps on each server containing either of those folders.

To set the passwords:

  1. Stop all EnterWorks services.

  2. Update the shared configuration properties to set:

    epim.connection.password=<EPIM-encrypted-EPIM-password>
  3. Restart all EnterWorks services.