Upgrading CAKM for Oracle TDE Provider
This section is applicable for:
Upgrading from SafeNet ProtectApp Oracle TDE to CAKM for Oracle TDE
Upgrading CAKM for Oracle TDE from an older version to the latest version
Upgrading from SafeNet ProtectApp Oracle TDE to CAKM for Oracle TDE
Caution
Upgrade from SafeNet ProtectApp Oracle TDE to CAKM for Oracle TDE requires you to first Uninstall SafeNet ProtectApp Oracle TDE and then Install CAKM for Oracle TDE.
It is recommended to take a backup of your last configuration file and other required files before upgrade.
If you are upgrading from CAKM for Oracle TDE 8.10 to CAKM for Oracle TDE 8.11 or above, and the master key is created inside the domain, then after rebooting the Oracle instance, you must open the wallet through the command:
ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY "dom_hr::cm_user:cm_user_password";
Upgrading CAKM for Oracle TDE from an older version to the latest version
Caution
Install the latest version of CAKM for Oracle TDE. It replaces the installed files with a newer version. Hence, it is recommended to take a backup of your last configuration file and other required files before upgrade.
To upgrade CAKM for Oracle TDE from 8.10.0 to 8.11.0:
Upgrade Existing Auto-login HSM Wallet to New Auto-login HSM Wallet
Upgrade Existing Auto-login HSM Wallet with PDB to New Auto-login HSM Wallet with PDB
Upgrade Existing Manual HSM Wallet to New Manual HSM Wallet
To upgrade the existing Manual HSM wallet to Manual HSM wallet, open the Manual HSM wallet using the following command:
Upgrade Existing Auto-login HSM wallet to New Auto-login HSM wallet
To upgrade the existing Auto-login HSM wallet to new Auto-login HSM wallet, perform the steps mentioned below:
Rename or move the
cwallet.sso
file.Restart the database. Check the status of existing wallet in the Oracle database. Execute the following commands.
Reset the TDE_CONFIGURATION parameter.
Open the Software Wallet.
Add a secret for HSM. You can do it in two ways:
Deleting the previously set secret and adding a new secret for CAKM for Oracle TDE.
Updating the previously set secret with the secret for CAKM for Oracle TDE.
Create a new auto-login keystore using the password of the Oracle software wallet.
Reset the TDE_CONFIGURATION parameter and retart the database.
(This step is applicable for Oracle RAC.) After running the above steps on the source node, run the following steps on all the destination node(s).
Rename the existing
cwallet.sso
file.Copy the
cwallet.sso
file from the source node to the destination node in the cluster at the same location.Restart the database on the destination node.
Upgrade Existing Auto-login HSM Wallet with PDB to New Auto-login HSM Wallet with PDB
To upgrade the existing Auto-login HSM wallet with PDB to new Auto-login HSM wallet with PDB, perform the steps mentioned below:
Rename or move the
cwallet.sso
file.Restart the database. Check the status of existing wallet in the Oracle database. Execute the following commands.
Reset the TDE_CONFIGURATION parameter.
Open the Software Wallet.
Add a secret for HSM. You can do it in two ways:
Deleting the previously set secret and adding a new secret for CAKM for Oracle TDE.
Updating the previously set secret with the secret for CAKM for Oracle TDE.
Create a new auto-login keystore using the password of the Oracle software wallet.
Reset the TDE_CONFIGURATION parameter and retart the database.
(This step is applicable for Oracle RAC) After running the above steps on the source node, run the following steps on all the destination node(s).
Rename the existing
cwallet.sso
file.Copy the
cwallet.sso
file from the source node to the destination node in the cluster at the same location.Restart the database on the destination node.
Note
On the AIX platform for Safenet Oracle TDE, you can comment the
LIBPATH
parameter in the.profile/.bash_profile
file forsamplelibs
.To load the latest configuration file and the library, restart the Oracle database after upgrading CAKM for Oracle TDE.