> Try looking at the /demos/ssl examples, they're pretty good. My
>initial code came pretty much straight from those examples (cli.cpp and
>serv.cpp).
I've did that. Great examples. What I can't get to work is client side
certificate.
When using the cli.cpp and serv.cpp, I call
SSL_CTX_use_certificate_file and
SSL_CTX_use_PrivateKey_file
on the client side.
However, the
client_cert = SSL_get_peer_certificate (ssl);
on the server side, always returns NULL.
Why? Am I missing something here?
What is the easiest way to create your own dummy server/client certificates
and private keys?
Thomas
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]