Using the Adaptive Server Enterprise Password Encryption Tool to Encrypt the DBA Password

Use the Adaptive Server Enterprise password encryption utility, passencrypt, to update and encrypt passwords for the RAPCache agent-plugin.xml.

  1. Stop the RAPCache UAF agent, if necessary.
  2. In a command window, change to $RAP/RAPCache//UAF-2_5/bin.
  3. Run passencrypt:
    passencrypt [-help] 
    -[algorithm <encryption_algorithm>] 
    [-provider <cipher_provider_class>] 
    -text <clear_text>
    where:
    • help – is print help.

    • algorithm – is the optional encryption algorithm. The default value is DES and the supported algorithms are DES and RSA.

    • provider – is the optional cipher provider class. The default DES provider is the Sun JCE. Default RSA provider is org.bouncycastle.jce.provider.BouncyCastleProvider.

    • text – is the required clear text. Use the <clear_text> value as the new Adaptive Server Enterprise password.

  4. Update the ase.password property in the file $RAP/RAPCache/UAF-2_5/plugins/com.sybase.ase/agent-plugin.xml with the encrypted value retrieved from the utility in step 3.
  5. Restart the RAPCache UAF agent.
Related tasks
Changing the RAPStore RAP_USER Password
Related reference
Using the rapencrypt Tool to Encrypt Component Passwords