Hi,
I am trying to implement Client authentication
through SSL ..
but I am lil bit confused abt the verify callback
function ...
what I want is ,at the time of handshake server
will get the client cerificate and server will check the DN and timestamp of the
client cerificate ..
I have set the
SSL_CTX_set_verify(m_ctx, SSL_VERIFY_PEER |
SSL_VERIFY_FAIL_IF_NO_PEER_CERT,SSLCallBack);
to get the client certificate in the server and
implemented the callback function ...
this is working fine but the call back finction has
been called 3 times every time I am asking for client authentication
...
inside the call back function I am getting the peer
certificate ...but even though I am checking out the X509_notAfter field ...with
an out dated certificate this the whole authentication process is working
smoothly ...
here is my call back function ...
|
- Re: client authentication prob ratan.sarkar
- Re: client authentication prob Lutz Jaenicke