Setting up the Environment
You need to set up the environment before starting the integration. Setting up the environment includes the following steps:
Using Root User
Create a work folder where all the certificates, keystore, and config files will be created. This work folder will be owned by DB2 instance user.
mkdir <folder path>
Assign permission to DB2 instance user to the above created work folder.
chown -R <DB2 instance user> <folder path>
After performing the above steps, DB2 instance user should have correct permission on the above created work folder.
To check the permission, try to create a dummy text file inside the above create work folder using the DB2 instance user.
For Example:
(as db2user) cd /opt/wallet/KMIP
(as db2user) touch test.txt
(as db2user) ls -l
Ensure that test.txt
is created.
Note
In this document, we will use:
/opt/wallet/KMIP
as the work folder.db2user
as the DB2 instance user.