Isaac Rajkumar wrote:
>Hello All - 
>       
>When I try to perform a handshake (using SSL_do_handshake()) between a client 
>and a server I get the following errors:
>       
>In Server:
>403:error:14095412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad 
>certificate:.\ssl\s3_pkt.c:825:SSL alert number 42
>       
>In Client:
>420:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify 
>failed
>       
>In the client, I call SSL_CTX_set_verify(ctxt, SSL_VERIFY_PEER, NULL), then I 
>add the CA certificate using SSL_add_client_CA().
>       
>In the server, I call SSL_CTX_use_certificate() and
SSL_CTX_use_PrivateKey() to 
>install the certificate.
>       
>None of the above calls fail. But the SSL handshake fails as described above.
>       
>Can someone give me pointers on how to go about figuring out the actual 
>problem? I'm quite new to SSL programming, so any hints will be helpful.
>       
>Thanks.
>       
>       
>Isaac Rajkumar

Can you give more details about what exactly you wanted to do? It would be
good if you can send me the entire code. Also, what is your operating
system? And what is the host you want to connect to? Also did you try to
connect to this host with s_client (it's a part of openssl)?

post a reply or email to [EMAIL PROTECTED]
and maybe I'll be able to help you.

Sincerely,
Luigi Ernesto.

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

Reply via email to