Martin Bartosch wrote:
Does anybody know how to use engine support in 0.9.8? I did not find anything useful in the docs or in the OpenSSL mailing list archives.
Better question - who knows how dynamic engine support works (0.9.7 support the same stuff). Best ressource: OpenCA::Token::OpenSC ;-D
However, with 0.9.8: # /usr/local/openssl-snap/bin/openssl genrsa -engine chil 1024
openssl genrsa -engine dynamic -pre ID:chil -pre SO_PATH:/usr/local/lib/ncipherlib.so -pre LIST_ADD:1 -pre LOAD 1024
Please see token.xml (opensc example). You have to play a little bit with this stuff because it is for me mote than a year ago. So the above line is only a first idea.
invalid engine "chil" 12852:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:162:filename(/usr/local/openssl-snap/lib/engines/libchil.so): /usr/local/openssl-snap/lib/engines/libchil.so: cannot open shared object file: No such file or directory 12852:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 12852:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450: 12852:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:411:id=chil 12852:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:162:filename(libchil.so): libchil.so: cannot open shared object file: No such file or directory 12852:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 12852:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
Trash caused from nonexistent engine chil.
Michael -- _______________________________________________________________
Michael Bell Humboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 [EMAIL PROTECTED] D-10099 Berlin _______________________________________________________________
smime.p7s
Description: S/MIME Cryptographic Signature