curl-library
Re: Detailed certificate verification error string
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
- text/x-patch attachment: 0001-curl-needs-to-be-more-chatty-regarding-certificate-v.patch