cURL / Mailing Lists / curl-library / Single Mail


Re: HTTPS-request with custom root-certificate?

From: Dan Fandrich <>
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:
Received on 2014-05-07