cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about cacert.pem on Windows with MinGW

From: Thomas Mayer <thomas_at_residuum.org>
Date: Sat, 18 May 2013 23:40:17 +0200

On 18.05.2013 18:50, Daniel Stenberg wrote:
> On Fri, 17 May 2013, Thomas Mayer wrote:
>
>> It seems that using gnutls, curl_easy_setopt(curl_handle,
>> CURLOPT_SSLCERT, common->cert_path); does not set the cert file:
>
> CURLOPT_SSLCERT is to set a client cert, while you seem to want to set
> the path to a CA cert. Correct? If you want to specify the CA cert, use
> CURLOPT_CAINFO.

Thanks, that was it. Apparently I have not understood the different CA
cert files correctly.

Best regards,
Thomas

-- 
"Ich komme aus dem Staunen nicht heraus."
"Dann bleib halt drin, du Seppel"
(Dietmar Dath - Die Abschaffung der Arten)
http://www.residuum.org/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-18