Encrypting the FME Server Database Password

The password for the FME Server Database is stored in the following configuration files:

By default, the password is not encrypted. To encrypt the FME Server Database password, follow these steps:

  1. From all machines on which the FME Server Core is installed, open a command prompt and run encryptConfigSetting.bat (Windows) or encryptConfigSetting.sh (Linux), located in <FMEServerDir>\Clients\utilities\. When you run the script, supply the following parameters:
    • DB_PASSWORD
    • The DB_PASSWORD value, as provided in fmeCommonConfig.txt and fmeServerWebApplicationConfig.txt, and corresponding to the database server type (DB_TYPE) you installed. (If your FME Server is an Express installation, your database server (DB_TYPE) is postgresql. If your FME Server is a Custom installation, your database server (DB_TYPE) is either postgresql, sqlserver, or oracle.
    • For example:

      encryptConfigSetting.bat DB_PASSWORD fmeserver

  2. Copy the encrypted password that is generated from the command prompt output and paste it over the unencrypted DB_PASSWORD value in fmeCommonConfig.txt and fmeServerWebApplicationConfig.txt.
  3. Note: Make sure to update both configuration files.

  4. Save fmeCommonConfig.txt and fmeServerWebApplicationConfig.txt, and restart FME Server.