cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to use CAPATH option?

From: Arif Ali <arif.ali.syed_at_gmail.com>
Date: Wed, 3 Sep 2014 22:57:56 +0530

Hello,
          This is how I ma using the CAPATH option

 curl_easy_setopt(curl_handle, CURLOPT_CAPATH, "C:\\");
 curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 1);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 1);

My C:\ driver folder has the
cacert.pem & ca-bundle.cer
downloaded from http://curl.haxx.se/docs/caextract.html

I have also given the path of these two files in CAPATH option but doesn't
work for me.
What am i missing?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-03