I was having problems with client authentication that I solved only moments ago.
Try calling SSL_new (m_pCtx) only after you load the certificates and keys, makes sense when you think of it.
Also, use SSL_CTX_set_verify(m_pCtx, SSL_VERIFY_PEER, verify); with only SSL_VERIFY_PEER not SSL_VERIFY_FAIL_IF_NO_PEER_CERT
Hope this helps...
Cheers,
Ragnar Agustsson
[EMAIL PROTECTED]
Iceland
Albert Serra <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 28.06.2000 17:32
|
To: [EMAIL PROTECTED] cc: Subject: Re: client authentication |
sorry for my english
Albert Serra wrote:
I'm modifying cli.cpp and serv.cpp to get client authentication. So I do it in the same way like server authentication but it doesn't work. Does somebody know how to get it? Ideas? Is there any espacial and important function that I can have forgotten?
thanks
--
Albert SERRA
===========================================
Integrated Systems Laboratory (DE/LSI-EPFL)
email: [EMAIL PROTECTED]
--
Albert SERRA
===========================================
Integrated Systems Laboratory (DE/LSI-EPFL)
email: [EMAIL PROTECTED]