cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Let me know ssl usage

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 Jul 2003 13:46:58 +0200 (CEST)

On Tue, 1 Jul 2003, ??? wrote:

> I already knew that. but ADH means "anonymous diffie helman', as you know,
> in this case , The server's SSL certificate is regardless. isn't it? so,
> why was curl' result "The remote peer's SSL certificate wasn't ok" ? please,
> let me know

The error message "SSL: couldn't get peer certificate!" is returned by libcurl
when the OpenSSL function SSL_get_peer_certificate() fails.

As libcurl needs to be able to read the server's cerficiate before contiueing,
that return code is considered a fatal error and libcurl returns with the
CURLE_SSL_PEER_CERTIFICATE error.

(lib/ssluse.c:996 in my development version)

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-01