HEllo List,

I am trying to use a dynamic engine from opensc. This shall load a
module of a third party.

At the openssl command prompt everything works fine.

--snip--
OpenSSL> engine dynamic -pre SO_PATH:/usr/lib/opensc/engine_pkcs11.so
-pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre
MODULE_PATH:/usr/local/lib/libetpkcs11.so

OpenSSL> req -engine pkcs11 -new -key id_45 -keyform engine -out req.der
 -outform DER -x509
--snip--

This is generating a cert with the key from my eToken.

But I'd like to load the engine from the config file, so that I can add
the openssl command to a script.

--snip--
[ openssl_init ]
engines = engine_section

[ engine_section ]
pkcs11          = pkcs11_engine_section

[ pkcs11_engine_section ]
init            = 1
engine_id       = pkcs11
dynamic_path    = /usr/lib/opensc/engine_pkcs11.so
module_path     = /usr/local/lib/libetpkcs11.so
--snip--
Any ideas what is wrong?
The specific module does not seem to be loaded!

I am using  openssl-0.9.7f-7.10 on FC4 an opensc 0.10.0.

Kind regards
Cornelius

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to