> -----Original Message-----
> From: Ossama Othman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 17, 2000 1:00 PM
> To: [EMAIL PROTECTED]
> Subject: SSL_CTX_load_verify_locations() necessary?
>
>
> Hi,
>
> Is a call to SSL_CTX_load_verify_locations() necessary if I explicitly
> use SSL_CTX_use_certificate_file()?
The two functions do different things.
SSL_CTX_use_certificate_file() specifies the cert that is to be used by the
specified CTX to identify *itself* to the peer. It expects to also be used
with SSL_CTX_use_PrivateKey_file().
SSL_CTX_load_verify_locations(), otoh, is expected to load CA certs that
will be used to verify the certs offered by peers.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]