You need to do this :

On Client Side:
SSL_CTX_use_certificate ()
SSL_CTX_use_private_key()

On Server Side:
SSL_CTX_load_verify_locations()
SSL_CTX_verify()    // Set the flag to (SSL_VERIFY_PEER |
SSL_VERIFY_FAIL_IF_NO_PEER_CERT)

Paras

On Thu, Mar 27, 2008 at 5:15 AM, vaibhav bindroo <[EMAIL PROTECTED]>
wrote:

> HI all,
>
> I hav got a ssl client and server running with single way certificate
> authentication presently implemented . I want to enable client side
> certificate authentication as well  but am stuck regarding the appropriate
> use of client_cert_cb callback function and the related function  void
> SSL_CTX_set_client_cert_cb ( ctx , cb )  for installing certificates  on the
> client side .
>
> Can anyone guide me on this ..this is a little urgent ...
>
> Thanks
> -Vaibhav Bindroo
>

Reply via email to