cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Error Code 51

From: Sharma, Amit <as230007_at_exchange.Canada.NCR.com>
Date: Thu, 16 Oct 2003 12:50:19 -0400

Thanx,
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,
CURLOPT_SSL_VERIFYHOST, 1);
Worked for me as well.
:-)

> -----Original Message-----
> From: Sharma, Amit
> Sent: Thursday, October 16, 2003 12:33 PM
> To: 'curl-library_at_lists.sourceforge.net'
> 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,
> CURLOPT_SSL_VERIFYPEER, FALSE);
>
> 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 SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Received on 2003-10-16