cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl and CA bundles

From: Ray Satiro via curl-library <>
Date: Fri, 13 May 2016 01:07:24 -0400

On 5/12/2016 8:05 PM, Jason W. Lewis wrote:
> Does libcurl use the CURL_CA_BUNDLE environment variable like the curl
> binary does? We have a web transaction that works from the command
> line, but not when called from within our app and we’re trying to
> narrow it down.

Typically no but in Windows in rare cases (watcom, old mingw build
makefiles) libcurl may be built with -DCURL_WANTS_CA_BUNDLE_ENV by
default which will do that.

curl_easy_setopt(curl, CURLOPT_CAINFO, getenv("CURL_CA_BUNDLE"));

List admin:
Received on 2016-05-13