The demos are intended to be *minimal* SSL programs. If it had client
verification it wouldn't be minimal anymore, now, would it? If you want to
see how client authentication works, examine apps/s_server.c and look at
what happens when you specify -verify. Keep an eye open for
SSL_CTX_set_verify(), SSL_CTX_load_verify_locations(), and
SSL_CTX_set_client_CA_list(). Have fun.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 14, 2000 9:31 AM
> To: [EMAIL PROTECTED]
> Subject: demos/ssl/serv.cpp
> 
> 
> 
> I'm trying to implement a ssl client/server class in Borland 
> C++ Builder
> based on openssl 0.9.5 and the example in demos/ssl/serv.cpp and
> demos/ssl/cli.cpp.
> 
> If I use openssl.exe with the command line:
> 
>  openssl s_client -connect localhost:443 -cert z:\robert.crt -key
> z:\robert.key 
> 
> and the serv.exe program then the server app does not get any 
> key from the
> client. If I run openssl with the s_server parameter it does get a key
> form the client. I've tried figuring out what is happening in
> apps/s_server.c but I have to admit to being confused by it.
> 
> So the question: What do I have to do to serv.cpp to convince it to
> request a key from the client?
> 
> Thank you.
> 
> Robert Sandilands
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to