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:

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCAINFO

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to