You are here: Administrator's Guide > Securing FME Server > Encrypting the FME Server Database Password

Encrypting the FME Server Database Password

By default, the password that is stored in configuration filefmeCommonConfig.txtfor theFME Server Databaseis not encrypted. To encrypt the FME Server Database password in fmeCommonConfig.txt, 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> \工具\ \客户。当您运行这个script, supply the following parameters:
    • DB_PASSWORD
    • TheDB_PASSWORDvalue, as provided in fmeCommonConfig.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) ispostgresql. If your FME Server is a Custom installation, your database server (DB_TYPE) is eitherpostgresql,sqlserver, ororacle.
    • 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 unencryptedDB_PASSWORDvalue in fmeCommonConfig.txt.
  3. Save fmeCommonConfig.txt andrestartFME Server.