Create a pkcs11.cfg at /etc/utimaco/

Create a file /etc/utimaco/pkcs11.cfg and add the below contents to it.

›_ Console

name=CryptoServer
library=/opt/utimaco/lib/libcs_pkcs11_R3.so 
slotListIndex=0 
attributes=compatibility 
attributes(*,*,*) = { 
CKA_TOKEN = true 
} 

This file will be used by the SunPKCS11 provider to perform cryptographic operations on the Utimaco HSM.

Specify the correct library path and slot index.