On Mon, Aug 06, 2007 at 05:06:02PM -0700, Siddhartha Kasivajhula wrote:
> > Perhaps you can simply define the engine as pkcs11
> 
> Hmm, it goes crazy when I try that:
> 
> OpenSSL> engine pkcs11 -pre
> SO_PATH:/opt/ITsmartcard/lib/engines/engine_pkcs11.so -pre ID:pkcs11 -pre
> LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/opt/ITsmartcard/lib/opensc-pkcs11.so
> (pkcs11) PKCS #11 engine support
> [Failure]: SO_PATH:/opt/ITsmartcard/lib/engines/engine_pkcs11.so

No that will not work. You're treating engine_pkcs11.so as a PKCS#11
module, which it is not. You could try this:

engine pkcs11 -pre SO_PATH:/opt/ITsmartcard/lib/opensc-pkcs11.so

If that doesn't work, please send the output from openssl engine -v


//Peter
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to