Troubleshooting

Error

Diagnosis

Error: Failed to attach external HSM client library. Please check if you specified the vendor provided PKCS#11 library path correctly.

PKCS#11 library cannot be loaded.

  1. Verify that you have specified the correct

Path to PKCS#11 library path in 'config.json' file .

  1. Verify that the cs_pkcs11_R3.cfg file is available in the '/etc/utimaco' folder.

  2. Verify that the configurations in the cs_pkcs11_R3.cfg file are correct.

C_Login [type=1] returned Error 0x00000102 (CKR_USER_PIN_NOT_INITIALIZED)

PKCS#11 Slot is not initialized. You need to initialize the Slot. See steps 3 and 4 in section Create SO User and Initialize a Slot.

Error loading configuration from /etc/vhsm/ config.json: stat /etc/vhsm/config.json: no such file or directory

json configuration cannot be loaded.

  1. Ensure that the 'config.json' file is available in the docker container.

  2. Check that the docker user has the permissions to run the container.

C_Login [type=131] returned Error 0x00000030 (CKR_DEVICE_ERROR)

PKCS#11 No connection to the HSM.

  1. Check network and token availability.

  2. Provide the correct Admin Key for the device to connect.

[WARN] failed to unseal core: error="stored unseal keys are supported, but none were found"

Ensure that the IP address of the vHSM in Docker is configured correctly.