cURL / Mailing Lists / curl-library / Single Mail


RE: Error Code 51

From: Sharma, Amit <>
Date: Thu, 16 Oct 2003 12:50:19 -0400

I got this issue resolved...a quick search in google suggested, somebody
else had faced a similar issue and he set the curl_easy_setopt(curl,
Worked for me as well.

> -----Original Message-----
> From: Sharma, Amit
> Sent: Thursday, October 16, 2003 12:33 PM
> To: ''
> Subject: Error Code 51
> Hi there list,
> I disabled the verification of the server cert as pointed out by a list
> member for I just wanted to send and receive data without bothering about
> the server certificate. This option worked fine on some servers.
> The setopt handle I used was curl_easy_setopt(curl_handle,
> However from some https servers, I receive an error code of 51.
> Browsing through the list of codes, looks like error code 51 is for some
> kind of verification of the server certificate [CURLE_SSL_PEER_CERTIFICATE
> (51) The remote server's SSL certificate was deemed not OK]. Could anybody
> point why do we get an error of this sort even if the certificate
> validationis disabled.
> Gracias,
> Amit
> .

This email is sponsored by: Giveback Program. hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here:
Received on 2003-10-16