curl-library
Curl Error 35: Unknown SSL protocol error
Date: Thu, 03 Nov 2005 12:35:47 +0200
Hi,
I use libcurl from my PHP program. This code:
curl_setopt($ch, CURLOPT_URL, $this->_PostURL);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_CAPATH, 'ca-cert-bundle.pem');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 250);
used to work just fine on Debian Sarge.
However after migrating to CentOS 4.1 on a new clustered machine
mysterious error started to happen randomly:
Curl Error 35: Unknown SSL protocol error
It happens around 1 time a day.
I added this line but id did not help
curl_setopt($ch,CURLOPT_SSLVERSION,3);
please give me an idea what can be the reason and how to debug it ? Do
you need more info ?
Thanks in advance for your help :-)
Kind regards,
Peter
Received on 2005-11-03