-
Hi, I would like to use
If I set the following openssl.cnf and export OPENSSL_CONF=$PWD/openssl.cnf this works
However I would like to use it without changing nor exporting OPENSSL_CONF, is there a away to specify pkcs11-module-path in OpenSSL commandline ? I did try without success : and also :
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
I believe the following should work:
note that the various provider option are sensitive to the order they are passed in. Whil;e this can give you access to the module, you won't be able to set any pkcs11-provider configuration options, if your usage require any of them (and softhsm2 being very buggy might) you will have to revert to use the openssl config file. |
Beta Was this translation helpful? Give feedback.
-
Any method how to specify the PKCS11_PROVIDER_MODULE path in C code ? I tried this without sucess :
If I export |
Beta Was this translation helpful? Give feedback.
-
I confirm this is working:
|
Beta Was this translation helpful? Give feedback.
-
I implemented a reference here : https://github.com/embetrix/pkcs11-provider-example in case someone stumble into that problem |
Beta Was this translation helpful? Give feedback.
I believe the following should work:
note that the various provider option are sensitive to the order they are passed in.
Whil;e this can give you access to the module, you won't be able to set any pkcs11-provider configuration options, if your usage require any of them (and softhsm2 being very buggy might) you will have to revert to use the openssl config file.