-
Hi, The openssl.cnf: config_diagnostics = 1 [openssl_init] [provider_sect] [base_sect] [default_sect] [pkcs11_sect] The results (OpenSSL 3.0.2): |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I used NSS softoken, because softhsm2 is currently hopeless, as it uses itself openssl but w/o using a private libctx, therefore if it loads it can only loop into itself forever. However this specific error is happening because apparently the pkcs11-provider is failing to load, unfortunately openssl does not give errors in that case :-( I suggest using strace to figure out if the .so is found and LD_DEBUG=all to find out if it is a linker issue. |
Beta Was this translation helpful? Give feedback.
-
I tried to run: $ strace openssl list -providers: |
Beta Was this translation helpful? Give feedback.
I tried to run:
$ openssl list -providers
pkcs11 isn't there.
$ strace openssl list -providers:
...
openat(AT_FDCWD, "/home/g/pkcs11-provider/src/.libs/pkcs11_provider.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
...