cURL / Mailing Lists / curl-library / Single Mail

curl-library

HTTPS-request with custom root-certificate?

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

Hi,

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?

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