"Chen, Qiming" <[EMAIL PROTECTED]> writes:
> 4.Then I saved cert.pem as client.key and signed_req.pem as client.crt, and
> use client.key and client.crt in client.c 's
> function:SSL_CTX_use_certificate_file(). My client can see and display
> server 's certificate, but server complaint about client side bad
> certificate.
> What do I did wrong to make client certificate so the server won't accept
> it? Anyone any ideas?
You need to tell the server to use the CA's certificate
using SSL_CTX_load_verify_locations()
-Ekr
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]