Master Key Rotation
You can rotate the Master Key using any of the following two methods:
Without Key Caching
Open
CADP_PKCS11.properties
file and ensure thatSymmetric_Key_Cache_Enabled
property is set tono
.Symmetric_Key_Cache_Enabled=no
Open the wallet.
ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY "<cm_user:cm_user_password>";
Rotate the Master Encryption Key.
ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY "<cm_user:cm_user_password>";
OR
ADMINISTER KEY MANAGEMENT SET ENCRYPTION KEY FORCE KEYSTORE IDENTIFIED BY "<cm_user:cm_user_password>";
With Key Caching
Open
CADP_PKCS11.properties
file and ensure thatSymmetric_Key_Cache_Enabled
property is set toyes
.Symmetric_Key_Cache_Enabled=yes
From the CipherTrust Manager UI, make the MEK as exportable.
Restart the database and open the wallet.
ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY "<cm_user:cm_user_password>";
Rotate the master encryption key using any of the following commands.
ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY "<cm_user:cm_user_password>";
OR
ADMINISTER KEY MANAGEMENT SET ENCRYPTION KEY FORCE KEYSTORE IDENTIFIED BY "<cm_user:cm_user_password>";
From the CipherTrust Manager UI, make the newly generated key as exportable.