On UNIX and Linux, Progress DataDirect provides a Password Encryption Tool, called ddencpwd, that encrypts passwords for secure handling in connection strings and odbc.ini files. At connection, the driver decrypts these passwords and passes them to the data source as required. Passwords can be encrypted for any option, including:

  • KeyPassword
  • KeyStorePassword
  • TrustStorePassword
  • Password

To use the Password Encryption Tool:

  1. From a command line, navigate to the directory containing the ddencpwd application. By default, this is install_directory/tools.
  2. Enter the following command:
    ddencpwd password

    where:

    password
    is the password you want to encrypt.
  3. The tool returns an encrypted password value. Specify the returned value for the corresponding attribute in the connection string or odbc.ini file. For example, if you encrypted the password for KeyPassword, specify the following in your connection string or datasource definition:
    KeyPassword=returned_value
  4. Repeat Steps 2 and 3 to encrypt additional passwords.
  5. If using an odbc.ini file, save your file.
This completes this tutorial. You are now ready to connect using encrypted passwords.