From: Kent Y. <shp...@gm...> - 2007-07-18 15:23:35
|
Hmm, it still looks like the engine is failing to load with "version incompatibility". Do you have more than 1 openssl install on this machine? If so, are they somehow conflicting? On 7/18/07, Kadir <qk...@ya...> wrote: > Hi, > > I defined OPENSSL_ENGINES and ENGINESDIR environment variables with the > following commands. But the same error occurs again. > > # export OPENSSL_ENGINES=/usr/local/lib/openssl/engines > # export ENGINESDIR=/usr/local/lib/openssl/engines > > I also tried to create a certfificate with the following command. Now the > number of error message decreased, but similar error exists. > > # openssl req -keyform engine -engine > /usr/local/lib/openssl/engines/libtpm.so -key anahtar.txt > -new -x509 -days 365 -out sertifika > > invalid engine "/usr/local/lib/openssl/engines/libtpm.so" > 3785:error:2606A074:engine routines:ENGINE_by_id:no such > engine:eng_list.c:379:id=/usr/local/lib/openssl/engines/libtpm.so > 3785:error:260B6091:engine routines:DYNAMIC_LOAD:version > incompatibility:eng_dyn.c:400: > no engine specified > unable to load Private Key > > Sincerelly, > Kadir. > > Kent Yoder <shp...@gm...> wrote: > Hi Kadir, > > It looks like openssl can't find the tpm engine .so. Last time I > checked there was an environment variable you could use to point > openssl to the right dir -- something like ENGINESDIR or > OPENSSL_ENGINES... Can you try setting one of these to see if that > fixes it? > > Thanks, > Kent > > On 7/17/07, Kadir wrote: > > Hi, > > > > I installed openssl and openssl_tpm_engine. I tried to test > > openssl_tpm_engine. I can create tpm key with the following command but I > > can't create a certificate with using this key (anahtar.txt) in openssl. I > > have HP nx6325 laptop which has a TPM chip. How can I solve this problem. > > kadir # create_tpm_key anahtar.txt > > SRK Password: > > Success. > > > > kadir # openssl req -keyform engine -engine tpm -key > > anahtar.txt -new -x509 -days 365 -out sertifika > > invalid engine "tpm" > > 24276:error:2606A074:engine routines:ENGINE_by_id:no such > > engine:eng_list.c:379:id=tpm > > 24276:error:25066067:DSO support routines:DLFCN_LOAD:could not load the > > shared library:dso_dlfcn.c:157:filename(libtpm.so): > > libtpm.so: cannot open > > shared object file: No such file or directory > > 24276:error:25070067:DSO support routines:DSO_load:could not load the > > shared library:dso_lib.c:244: > > 24276:error:260B6084:engine routines:DYNAMIC_LOAD:dso > > not > > found:eng_dyn.c:365: > > no engine specified > > unable to load Private Key > > > > Sincerelly, > > Kadir. > > > > > > > > > > ________________________________ > > Get the free Yahoo! toolbar and rest assured with the added security of > > spyware protection. > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > TrouSerS-users mailing list > > Tro...@li... > > > https://lists.sourceforge.net/lists/listinfo/trousers-users > > > > > > > -- > Kent Yoder > IBM LTC Security Dev. > > > > ________________________________ > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! > Games. > > -- Kent Yoder IBM LTC Security Dev. |