It would help if you applied the -debug command to your s_client -ssl2 line so we could see the actual traffic flow?
-Kyle H On Tue, Apr 7, 2009 at 12:23 AM, Anil Tambe <tambe.a...@gmail.com> wrote: > hi all, > i am using the latest openssl 0.9.8k. the -verify option works fine > with ssl3 , but handshake fails if i use -ssl2 . > Please let me know if i am missing something .. > Below are the details .. > ./openssl s_server -verify 0 -debug > ./openssl s_client -ssl3 -debug [ works fine .] > >> ./openssl s_client -ssl2 > CONNECTED(00000003) > depth=0 /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (512 > bit) > verify error:num=20:unable to get local issuer certificate > verify return:1 > depth=0 /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (512 > bit) > verify error:num=27:certificate not trusted > verify return:1 > depth=0 /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (512 > bit) > verify error:num=21:unable to verify the first certificate > verify return:1 > 22360:error:1407F0E5:SSL routines:SSL2_WRITE:ssl handshake > failure:s2_pkt.c:428: > > Thanks > Anil > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org