Replies: 4 comments 10 replies
-
|
Looks like it is dlopen'd in pkcs11-provider/src/interface.c Line 304 in 61bd6af |
Beta Was this translation helpful? Give feedback.
-
|
I should probably add that I have two different copies of openssl that are being used here: one bootstrap variant called |
Beta Was this translation helpful? Give feedback.
-
|
I've now tried with OpenSSL 3.5 instead of 3.0.8: same result. I'm still seeing the |
Beta Was this translation helpful? Give feedback.
-
The p11-kit-proxy is not used for finding trusted CAs -- it is used for loading multiple pkcs11 modules. Actually, one of the modules in the p11-kit proxy is a trust module, which provides the list of trusted CAs, but the pkcs11-provider is not the tool to provide them to OpenSSL. OpenSSL gets them through different means as it does not have native support for pkcs11. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've packaged
pkcs11-provideron GNU Guix, which is built withp11-kitsupport, so the default pkcs11 module should bep11-kit-proxy.so, as the following check suggests must be the case:I'm using the following snippet of openssl configuration, which I'm appending to the global
openssl.cnfconfig file:With this, I'd expect openssl to be able to find the p11-kit trusted certificates, but i doesn't, as this test in a container where /etc is mostly empty shows:
The
unable to get local issuer certificateis the message that suggests the system trust store is not being made available.stracealso shows that p11-kit is not being loaded:How is
p11-kit-proxy.sosupposed to be loaded? Is it perhapsdlopen? That often fails on Guix due to to relying on the library being on the RUNPATH (Guix not following the file hierarchy standard (FHS)).Beta Was this translation helpful? Give feedback.
All reactions