Create pkcs11.cfg at /etc/utimaco/

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

pkcs11.cfg

name=Utimaco
library=/opt/utimaco/lib/libcs_pkcs11_R3.so
slotListIndex=0

This file will be used by PKCS11 provider to get library and slot information and perform cryptographic operation on Utimaco HSM.

Specify correct library path and slot index.