Try SSL_CTX_set_verify() with the mode parameter set to
SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT

The documentation is at
http://www.openssl.org/docs/ssl/SSL_CTX_set_verify.html#

Greg Stark, [EMAIL PROTECTED]
Ethentica, Inc.
www.ethentica.com


----- Original Message -----
From: Zhong Chen
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 1:51 AM
Subject: client certificate


Is there any SSL_CTX_* function to force the client sending certificate
after server sends "Server Hello"? It's an optional step in SSL handshake,
and I want to make it mandatory (doable?). It will be very helpful if you
can point me to an example. Thanks.

- Zhong

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

Reply via email to