cURL / Mailing Lists / curl-library / Single Mail


HTTPS-request with custom root-certificate?

From: Satz Klauer <>
Date: Wed, 7 May 2014 08:19:48 +0200


I plan to use libcurl to do some HTTPS-POST-requests. The funny thing:
the host I want to access does not come with a certificate that is
signed by one of the common authorities that are available on all
operating systems, so the request should fail.

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?

List admin:
Received on 2014-05-07