cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Detailed certificate verification error string

From: Gokhan Sengun <gokhansengun_at_gmail.com>
Date: Sat, 21 Apr 2012 00:27:21 +0300

Hi there,

>
>> > It sounds good to me.. Are you able to generate a patch
>> > for that?
>>
>> Yes sure, but it will take a few days for me to get more
>> accustomed to the subject and generate a few other use
>> cases (certificate verification failures) to make sure that
>> what is proposed is actually something useful :-)

Small patch is ready and attached.

To easily see the enhancement on Linux: change your system time to
2000's like below (be root)

date -s "2000-02-29 16:21:42"

then try

curl -v https://www.facebook.com

you will see nothing regarding verification problem.

Then apply the patch and build curl

Now try again the web site, you will see the error like "certificate
is not valid yet" then you have a chance to diagnose the problem.

Thanks

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

Received on 2012-04-20