We will access the HSM using the IP address of the GP HSM device.
Initialize a Slot
Oracle OKV uses the token label to specify the slot to be used. To avoid any problems, please make sure the token label you are using is unique.
To initialize a slot with a custom label; use the following commands on the machine where you installed the p11tool2 tool.
The first p11tool2 command creates the SO or Security Officer and the second p11tool2 command initializes the Slot 0 User.
Make sure that you secure the new OKVADMIN.key which you just created. You will need that key to perform any Administrative functions on the Utimaco HSM.
Setting up your PKCS#11 users
Following the Utimaco documentation for setting up your PKCS#11 users.
For our example we have chosen the PIN ”123456”, to use for our SO and Crypto User.
|
Now check to see that you can access the Slot 0.
|
List users and verify MBK
Use the /opt/utimaco/bin/csadm command, list and confirm the users created.
|
Now check to confirm the Utimaco HSM has an MBK.
|
If no MBK is present you will need to generate one, before you can create any KEYS in the HSM.
Look at the csadm help=MBKGenerateKey and help=MBKImportKey for how to make this happen. Details can be found in the csadm document.
CryptoServer csadm Manual 5.7 Commands for Managing the Master Backup Keys
Check the slot
Check the PKCS#11 slot. Results should be similar to the following output.
|
OKV should now be able to access The Utimaco PKCS#11 HSM provider.