> Hi,
> I've made SSL client and server application using
> SSLeay 0.9.0 I can get the Cert of each one using
> SSL_get_peer_certificate, but I don't know how to
> verify certs. I know where are kept the CA, and I know
> the certs are OK. I still did not find what functions
> to call for verifying certs. I thought I need to use
> SSL_CTX_load_verify_locations(ctx,CAfile,CApath) and
> SSL_get_verify_result(ssl) But then it always return
> NULL.
Use
SSL_set_verify(ssl,SSL_VERIFY_PEER|SSL_VERIFY_FAIL_IF_NO
_PEER_CERT,0)
Dirk
Important: New telephone number, since May 11th.
[EMAIL PROTECTED] | http://www.ikossvan.de
Software Developer, ETA | IKOSS VAN GmbH, Germany
Tel.:+49 (2408) 148 125 | Business Unit Networks
Fax :+49 (2408) 148 204 | Pascalstr.19, 52076 Aachen
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/ |
+-------------------------------------------------------------------------+