cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

handshake error - error number: 14094410

From: Yehuda Tzadik <yudazdk_at_gmail.com>
Date: Tue, 6 Nov 2007 06:05:08 +0200

I have an ecommerce website written in php.
The url: http://www.jesuschrist-shop.com (SSl certificate is issued)
I use paypal as a payment gateway.
I use curl to connect to the paypal server

Here is my code:

//setting the curl parameters.
$o_curl = curl_init() ;
curl_setopt($o_curl, CURLOPT_URL, PAYPAL_API_ENDPOINT) ;
curl_setopt($o_curl, CURLOPT_VERBOSE, 1) ;

curl_setopt($o_curl, CURLOPT_RETURNTRANSFER, 1) ;
curl_setopt($o_curl, CURLOPT_POST, 1) ;

//setting the $s_nvp_req as POST FIELD to curl
curl_setopt($o_curl, CURLOPT_POSTFIELDS, $s_nvp_req) ;

//getting response from server
$s_response = curl_exec($o_curl) ;

I get the following error message:
error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

Is there problem with my code or the ssl ? and if there is
a problem with the ssl what should I check ?

Thanks and best regards
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-11-06