If you change the server administrator and RAPCache administrator passwords, you must update and encrypt the password(s) in the agent plugins.
Using 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.
Stop the RAPCache UAF agent, if necessary.
Open a command window, change to $RAP/RAPCache//UAF-2_0/bin.
Run the passencrypt encryption tool. The syntax is:
passencrypt [-help] -[algorithm <encryption_algorithm>] [-provider <cipher_provider_class>] -text <clear_text>
where:
help – print help
algorithm – is the encryption algorithm, and is optional. The default value is DES. The supported algorithms are DES and RSA.
provider – is the cipher provider class, optional. The default DES provider Sun’s JCE. Default RSA provider is org.bouncycastle.jce.provider.BouncyCastleProvider.
text – clear text, required. The <clear_text> value should be the new ASE password.
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.
Restart the RAPCache UAF agent.