Thanks,

As described in step 3, I converted my .crt files to .pem
with "openssl x509 -inform DES -in yourdownloaded.crt        -out
outcert.pem -text"

But I do not understand how I can add both my .crt (or.pem) to de CA
cert bundle.

Rob Deckers

PS: I am running on Windows, by the way.


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Daniel Stenberg
Sent: woensdag 14 juli 2010 17:59
To: libcurl development
Subject: Re: receive: Peer certificate cannot be authenticated with
known CAcertificates

On Wed, 14 Jul 2010, Deckers, Rob wrote:

> When I execute my getData function, I retrieve error code 60 (LibCurl 
> error
> code: 60, Peer certificate cannot be authenticated with known CA
> certificates)
>
> But when I add:
>    curl_easy_setopt(curlHandle, CURLOPT_SSL_VERIFYPEER, 0L); It all 
> works fine.
>
> What am I doing wrong?

Your tiny mistake was to not read this:

        http://curl.haxx.se/docs/sslcerts.html

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html


This message and attachment(s) are intended solely for use by the addressee and 
may contain information that is privileged, confidential or otherwise exempt 
from disclosure under applicable law.

If you are not the intended recipient or agent thereof responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.

If you have received this communication in error, please notify the sender 
immediately by telephone and with a 'reply' message.

Thank you for your co-operation.


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to