cURL / Mailing Lists / curl-library / Single Mail


How to load PEM certificate together with private key in libcurl using mbedtls

From: Mindaugas Jaraminas <>
Date: Mon, 4 Jan 2016 15:36:56 +0200


Maybe some of you have an example how to do it?

I have found an example how to do it with openSSL but according to
documentation this approach is for OpenSSL or wolfSSL/CyaSSL only.

Now I am loading certificates from files like this:

curl_easy_setopt(curl_handle, CURLOPT_SSLCERT, certificate);
curl_easy_setopt(curl_handle, CURLOPT_SSLKEY, private_key);

Witch in not OK in my use case.

Best regards

List admin:
Received on 2016-01-04