Prepare
To perform this process, enable the following command on the role you created for the integration:| Command | Description |
|---|---|
| GPED | General Purpose Encryption and Decryption |
Migrate the keystore
Perform the following steps to migrate a software keystore to an HSM keystore:1
Connect to your database as the sysdba user:
Shell
2
Configure the Wallet Root parameter to point to the
libfxpkcs11.so file:Sql
3
Stop and restart the database:
Sql
4
Configure the TDE_CONFIGURATION parameter for using an HSM:
Sql
5
Stop and restart the database:
Sql
6
Open the HSM KeyStore by using the identity password created on the HSM:
Sql
7
Change back to the software keystore wallet location:
Sql
8
Stop and restart the database:
Sql
9
Configure the TDE_CONFIGURATION parameter for FILE:
Sql
10
Stop and restart the database:
Sql
11
Open the software keystore:
Sql
12
Add the HSM identity password as a secret to the Software Keystore:
Sql
13
Alter the software keystore password to match the hsm_identity_pass to convert a software keystore to open with the HSM keystore:
Sql
sw\keystore\pass and the hsm\identity\pass are now the same.
14
Create an autologin and specify the software keystore by using the keystore location:
Sql
15
Switch the TDE_CONFIGURATION parameter to HSM and FILE:
Sql
16
Stop and restart the database:
Sql
17
Confirm that both the FILE and HSM keystores are open with no master key for the HSM keystore:You should see an output similar to the following:
Sql
Sql
18
Migrate the software keystore to the HSM keystore:
Sql
19
Switch the TDE_CONFIGURATION to HSM and confirm that you can still decrypt your database with just the HSM Keystore. Confirm that the keys are present on the HSM as well.
Sql

