cURL / Mailing Lists / curl-library / Single Mail


How to use CAPATH option?

From: Arif Ali <>
Date: Wed, 3 Sep 2014 22:57:56 +0530

          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

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:
Received on 2014-09-03