Integrate XCA with AWS CloudHSM via PKCS11 #464
Unanswered
vlady-github
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i try to integarte XCA with AWS CloudHSM via PKCS11.
Unfortunately, i face a weird problem. Whatever operation i try to inititiate from XCA to CloudHSM, i get an error "CKR_SLOT_ID_INVALID" from XCA.
The error logged in "cloudhsm_pkcs11" library logs indicates:
"ERROR [136372] ThreadId(3) [cloudhsm_pkcs11::slots::slot_manager] BP000: Invalid slot id 1"
Inspecting the HSM slots with "pkcs11-tool" returns:
pkcs11-tool -L --module /opt/cloudhsm/lib/libcloudhsm_pkcs11.so
Available slots:
Slot 0 (0x2000000000000001): hsm1
...
CloudHSM has just a single slot - it's id is 0, while XCA's PKCS11 implementation attempts to query "slot id 1".
Is there a why i could configure XCA to query "slot id 0", rather than "slot id 1" ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions