cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL certificate

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 20 Mar 2006 08:23:05 +0100 (CET)

On Fri, 17 Mar 2006, Nilesh wrote:

> - Receive certificate and validate it. - I am able to achive this with
> options CURLOPT_SSL_VERIFYPEER/CURLOPT_SSL_VERIFYHOST.

You validate server certificates with cacert bundles and thus the CA-related
options in libcurl: *CAINFO and *CAPATH.

> - Send certificate

You mean using a client-side certitifcate? Then *SSLCERT, *SSLKEY and
*SSLKEYPASSWD should be your friends.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-03-20