cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: What path does curl use to check cabundle.crt

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 10 Apr 2004 14:19:37 +0200 (CEST)

On Sat, 10 Apr 2004, Simon Poulston wrote:

> What path does curl use to check ca-bundle.crt

Use "curl-config --ca" to find out where your install put it.

> If I run curl from the command line it only works when I use:
>
> curl --cacert /usr/local/share/curl/ca-bundle.crt -v https://www.paypal.com
>
> If I knew the default location curl is looking for the ca-bundle.crt I could
> copy it there.

The default installation path to the CA bundle is:

        /usr/local/share/curl/curl-ca-bundle.crt

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-10