> I am a new to SSL.  I have installed openssl and using the SSL APIs , I have
> written a small client -  server
> program in C, but SSL_connect fails from client end and SSL_accept fails from
> server. I have generated the root CA certificate, which I have used to sign
> both the client and server certificate.

Are you aware you need to call SSL_connect and SSL_accept a number of
times, checking the error return to see if it WANTS_READ or
WANTS_WRITE, and reading/writing as appropriate? It can take a number
of calls to to the connect/accept before it finishes the job.

Thanks
-- 
Michael Simms
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to