- Create the KMIP configuration file.
- Configure Db2 to use the CryptoHub.
- Create the encrypted database and verify the integration.
Create the configuration file
Perform the following steps to create the KMIP configuration file:Open a text editor and create a The following sample shows an example configuration file:
kmip.cfg configuration file with the following details:Text
Text
Configure Db2
Perform the following steps to configure Db2 to use the CryptoHub.Create the encrypted database
Perform the following steps to create the encrypted database and verify the integration:In the IBM Db2 Command Line Processor, run the following commands to create an encrypted database:
Text
Replace fxencdb with the desired database name. Note that database names must not be longer than eight characters.
After running the preceding command, the master encryption key generates inside the IBM Db2 service on the CryptoHub.
The following message displays after the process successfully completes:
None
Verify the database has been successfully encrypted by executing the following command:Ensure that the Encrypted Database configuration parameter is set to YES in the command response.
Text

