chilly-magician-15821
08/30/2022, 8:02 PMtime=2022-08-30T19:43:54Z level=fatal msg=Unable to configure Hardware Security Module. Library path: /opt/cloudhsm/lib/libcloudhsm_pkcs11.so, slot: 0, token label: cavium audience=application error=map[message:could not find PKCS#11 token] service_name=Ory Hydra service_version=v1.11.9
These are my HSM settings in hydra:
hsm:
enabled: true
library: /opt/cloudhsm/lib/libcloudhsm_pkcs11.so
token_label: "cavium"
pin: "{{ HSM_PIN }}"
From what i can tell, that token label is correct.
Anyone that has succeeded in connecting hydra with CloudHSM and can tell me how they solved it?