curl-library
Re: Ignore bad certificate as in Firefox/Mozilla ?
Date: Sun, 24 Jan 2010 07:35:15 -0200
On Sun, Jan 24, 2010 at 7:03 AM, Claes Jakobsson <claes_at_versed.se> wrote:
>
> On 24 jan 2010, at 08.15, Cláudio Sampaio wrote:
> > Hi,
> >
> > I have a program using libcurl that gets the following error when it
> tries to connect to an intranet site:
> > "Peer certificate cannot be authenticated with known CA certificates
> (60)"
> >
> > I tried but couldn't find a flag that could tell it to ignore the bad
> certificate, as I can do with Firefox/Mozilla.
> >
> > Is there such a flag?
>
> see the option CURLOPT_SSL_VERIFYPEER at
> http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
>
> I belive that is what you're after.
>
I was already using that option set to '0', didn't work... But that's ok, I
will research a little more. Thanks.
Best regards,
Cláudio
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-24