cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how to decode SSL errors?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 15 Apr 2003 09:48:30 +0200 (CEST)

On Tue, 15 Apr 2003, Marian Cerny wrote:

> This is the tebug output:
> * About to connect() to 160.218.160.52:8443
> * Connected to 160.218.160.52 (160.218.160.52) port 8443
> * SSL: error:00000001:lib(0):func(0):reason(1)
> * Closing connection #0
>
> I can not find out, what this error "00000001:lib(0):func(0):reason(1)"
> means.

This error happens due to the good old problem thay your peer's certificate
can't be verified: http://curl.haxx.se/docs/sslcerts.html

The reason the error appears like this is a mistake in the 7.10.4 release.
And the fix that brings back the proper functionality can be found here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/ssluse.c.diff?r1=1.69&r2=1.71

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-15