On 12 Mar, Alan McIlwain Perez wrote:

> I am using the function SSL_get_peer_certificate( ) once the handshake
> is finished, after the call to SSL_accept( ). Every time I get "client
> does not have a certificate". 
You have to enable client verification first:
SSL_CTX_set_verify( sslctx, SSL_VERIFY_PEER, NULL);
or
SSL_set_verify( ssl, SSL_VERIFY_PEER, NULL);
before
SSL_accept( ssl);
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/

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

Reply via email to