Hello, i need some help connecting our Hydra insta...
# talk-hydra
c
Hello, i need some help connecting our Hydra instance to AWS CloudHSM. I have tried all sorts of settings, but i keep getting the following error:
Copy code
time=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:
Copy code
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?