Hello,
> I'm having problems with my client and server exchanging certificates. Both
> are set up as client/server. Both self signed certificates were generated by
> openssl using similar parameters.
> 
> The client has no problems getting the server certificate but the server
> cannot get the client certificate. What am I doing wrong here.
Client certificate is send only if server explicitly request it.
In OpenSSL you may request client certificate (or more properly:
client authentication) by setting:
         SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER |
SSL_VERIFY_FAIL_IF_NO_PEER_CERT);

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

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

Reply via email to