As a complete novice to SSL, I was hoping someone could send me a
minimal working client/server example...just something that gets the SSL
handshake to work, and then executes a few simple read/write commands.
I've played around with the cli.cpp and serv.cpp code included in the
0.9.6 release, but for some reason the SSL handshake keeps crapping out
on me with the errors:

(client side)
15635:error:0D06B078:asn1 encoding routines:ASN1_get_object:header too
long:asn1_lib.c:139:
15635:error:0D09F006:asn1 encoding routines:d2i_X509:bad get asn1 object

call:x_x509.c:101:address=134616904 offset=0
15635:error:1407E00B:SSL routines:SSL2_SET_CERTIFICATE:X509
lib:s2_clnt.c:906:

(and server side)
15634:error:1407D0E5:SSL routines:SSL2_READ:ssl handshake
failure:s2_pkt.c:100:

Thanks for any help!!
Matt

--
"There are only two tragedies in life: one is not getting what one
wants, and the other is getting it."
 -- Oscar Wilde

"Always do right-- this will gratify some and astonish the rest."
 -- Mark Twain

"There are only two ways to live your life. One is as though nothing is
a miracle. The other is as though everything is a miracle."
 -- Albert Einstein


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to