On Thu, 15 Mar 2012, Woods wrote:

When I set CURLOPT_CAINFO to a file, curl performs a https request and gives me error: CURLE_SSL_CACERT_BADFILE. I am sure, the file is accessible since it is given as absolute path. Strange that if I use the same file as the "--cacert" option of curl command line, it works.

Perhaps you can use the --libcurl option and then compare more exactly how the options differ to track down why this happens...

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to