Tugrul Bingol wrote: > On the server side I created a certificate using openssl, compiled & > linked the server program and ran it. On the client side I compiled & > linked the client program and ran it. I got the following error message > on the server side while client try to execute the line: err = > SSL_connect (ssl); > > > Connection from a39a2264, port 4bf > SSL connection using (NONE) > Client does not have certificate. > 159500:error:140780E5:SSL routines:SSL23_READ:ssl handshake > failure:s23_lib.c:186: > > > Why does this error occur? Why server expects a certificate from client? The part about the client not having a cert is not an error -- it's just information. This output looks like that is part of the error msg, but it's not. Something else is going wrong here. The line saying SSL connection using [NONE} should actually specify a cipher suite. The next line indicates a handshake error. I'm guessing that something is wrong w/ your server cert, but it's hard to tell. If you want to look at another demo program try this: http://www.darkspell.com/gadgets/ssl John [EMAIL PROTECTED] www.darkspell.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
