issues creating crypto tokens with Signserver. Missing Libcrypto.so.3 #124
Replies: 1 comment
-
Permission issues. Mounted the file in docker compose properly and it worked |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i am having some issues connecting my sign server with softhsm.
Error:
Caused by: java.lang.IllegalStateException: Wrong arguments were passed to sun.security.pkcs11.wrapper.PKCS11.CK_C_INITIALIZE_ARGS.getInstance threw an exception for log.error(msg, e)
Caused by: java.io.IOException: libcrypto.so.3: cannot open shared object file: No such file or directory/usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so
My worker config:
Status of CryptoWorker with ID 1 (CryptoTokenP11) is:
Worker status : Offline
Token status : Offline
Errors:
- Failed to initialize crypto token: Error when creating Crypto Token. Token id=1.
- Crypto Token is disconnected
Worker properties:
ATTRIBUTES=attributes(generate,CKO_PUBLIC_KEY,) = {
CKA_TOKEN = false
CKA_ENCRYPT = false
CKA_VERIFY = true
CKA_WRAP = false
}
attributes(generate, CKO_PRIVATE_KEY,) = {
CKA_TOKEN = true
CKA_PRIVATE = true
CKA_SENSITIVE = true
CKA_EXTRACTABLE = false
CKA_DECRYPT = false
CKA_SIGN = true
CKA_UNWRAP = false
}
i have mounted the libraries inside signserver, and i also checked the permission. all softhsm files are accessible. can some one help me trouble shoot please thanks.
Beta Was this translation helpful? Give feedback.
All reactions