Create the /etc/utimaco directory. We will copy the Utimaco PKCS#11 configuration file cs_pkcs11_R3.cfg into this directory. It is located in the CryptoServer-V4.45.3 directory Linux/x86-64/Crypto_APIS/PKCS11_R3/sample.
|
›_ Console |
|---|
|
|
Edit the cs_pkcs11_R3.cfg file located in /etc/utimaco/ and update the device specifier entry with the IP address of the HSM device being used, e.g. 288@172.23.0.55.
If required, also make changes for e.g Logpath = /tmp, Logging = 0.
For more information regarding the commands and command parameters check the Utimaco documentation. The device may be a CryptoServer (PCIe or LAN) device. The device line will follow one of these patterns, based on the HSM form-factor:
Device = 288@<HSM IP address> Hardware (LAN) HSM
OR
Device = /dev/cs2.0 Hardware (PCIe) HSM
To make testing easier, you can enable the PKCS#11 log file. It can be enabled by adding the entries for Logpath and Logging to the configuration file. The added Logpath points to a writable directory, not to a file. Logging can have values 0 to 4. For testing you can increase it to 4. When you are done, you should change Logging to 1 or 2. This will limit the logging to only critical and important messages.
If you encounter problems, check the log file cs_pkcs11_R3.log in the under Logpath defined directory.
Example values:
|
cs_pkcs11_R3.cfg |
|
|