Encrypting Sybase RAP passwords

If you change the server administrator and RAPCache administrator passwords, you must update and encrypt the password(s) in the agent plugins.

StepsUsing the ASE password encryption tool to encrypt the DBA password

This procedure uses the ASE password encryption utility, passencrypt, to update and encrypt passwords for the RAPCache agent-plugin.xml only. Updating other agent plugins requires the RAP encryption tool.

  1. Stop the RAPCache UAF agent, if necessary.

  2. Open a command window, change to $RAP/RAPCache//UAF-2_0/bin.

  3. Run the passencrypt encryption tool. The syntax is:

    passencrypt [-help] 
    -[algorithm <encryption_algorithm>] 
    [-provider <cipher_provider_class>] 
    -text <clear_text>
    

    where:

  4. Update the ase.password property in the file $RAP/RAPCache/UAF-2_0/plugins/com.sybase.ase/agent-plugin.xml with the encrypted value retrieved from the utility in step 2.

  5. Restart the RAPCache UAF agent.