cURL / Mailing Lists / curl-library / Single Mail


Re: support to load a chain of ca certs

From: Kamil Dudka <>
Date: Wed, 28 Apr 2010 13:43:24 +0200

On Wed April 28 2010 13:23:33 xxx xxx wrote:
> Hi,
> Does libcurl supports to load a chain of CA certificates for verification
> ? I could see only CURLOPT_CAPATH, Not sure if this is what i require. I
> have a chain of CA's like RootCA<-->Intermediate CA1<-->Intermediate
> CA2<-->Server Certificate.
> Now to verify peer, how can i load all the rootca, intermediate ca's.

I guess you're looking for CURLOPT_CAINFO:

List admin:
Received on 2010-04-28