vinni rathore wrote:
What is ur failure error messages can u please send them...
On Fri, Nov 14, 2008 at 10:21 PM, Michael Simms
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> 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 <mailto:openssl-users@openssl.org>
Automated List Manager
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
--
regards,
Vineeta Kumari
Software engg
Mobera Systems
Chandigarh
Hi
This is the ERROR message from the command line server tool of the
openssl against the sclient.c code written by me using the ssl API's .
SSL_accept:before/accept initialization
read from 0x80c30f0 [0x80c86a8] (5 bytes => 0 (0x0))
SSL_accept:failed in SSLv3 read client hello B
ERROR
shutting down SSL
CONNECTION CLOSED
ACCEPT
Thanks you
naveen
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]