I haven't used s_server and s_client, but to do this you would need to
call SSL_CTX_set_verify with SSL_VERIFY_NONE on the server and
SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT (that's a binary or)
on the client.  If no-one else replies, you should be able to work
backwards from the code to see how to do this with the s_ apps.

Andrew


Skye Poier wrote:
[...]
> I only want to verify the server authentication. Remeber I'm being my own
> CA here. 
[...]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to