cURL / Mailing Lists / curl-users / Single Mail


Curl Exit code = 51: SSL connection using (NONE)

From: Mike Kienenberger <>
Date: Fri, 09 Nov 2001 13:44:02 -0500


I'm using

curl 7.8.1 (i386-pc-solaris2.8) libcurl 7.8.1 (OpenSSL 0.9.6b)

to talk to to process credit card transactions.

For the most part, curl works great.

But every once in a while, one of our transactions fails with

Curl Exit code = 51
stderr=* SSL connection using (NONE)

Which supposedly means: "The remote peer's SSL certificate wasn't ok"

That doesn't seem too likely.

Now I see in the change log:

CURLE_GOT_NOTHING is a new possible error code

as well as

now properly returns an error code when connection to an SSL server with a
non-legitimate certificate.

Would these changes address the problem?

What exactly IS the problem? (The error sent to stderr doesn't enlighten

Thanks for any help.

-Mike Kienenberger
Received on 2001-11-09