cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ca cert question

From: Michael Wood <esiotrot_at_gmail.com>
Date: Mon, 25 May 2009 10:32:15 +0200

On Mon, May 25, 2009 at 9:52 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 20 May 2009, Guenter wrote:
>
>> if I configure libcurl with --with-ca-path=path then curl looks into that
>> directory, and uses any *.crt files it finds there, including ca-bundle.crt
>> ?
>
> No, you also need to prep that dir with the openssl tool. I can't remember
> exactly how right now.

c_rehash /path/to/certdir

I don't think c_rehash really does the right thing for a ca-bundle.crt
file. I'm pretty sure it only works if each cert is in a separate
file.

> This also only works with libcurl built to use OpenSSL.

Good to know.

-- 
Michael Wood <esiotrot_at_gmail.com>
Received on 2009-05-25