cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Simon Poulston <simon_at_colugo.co.uk>
Date: Mon, 12 Apr 2004 13:00:01 +0100

Thank you for the response

I can't get "curl-config --ca" to run?

Anyhow the ca-bundle.crt is in:

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

which curl file actually specifies the path to the ca-bundle.crt, is
there a config file I can adjust?

I don't mind having to add the path to the function of this cannot be
resolved but can this same path be added when using cURL through PHP?

Thank you

On 10 Apr 2004, at 13:19, Daniel Stenberg wrote:

> 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-12