cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS-request with custom root-certificate?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 7 May 2014 09:45:48 +0200

On Wed, May 07, 2014 at 08:19:48AM +0200, Satz Klauer wrote:
> But I could provide the related root-certificate during the request.
> So: how can this be done using libcurl? How should code for a
> HTTPS-POST-request look like when a custom root-certificate is used?

You can provide it with the CURLOPT_CAINFO curl_easy_setopt option.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-07