cURL / Mailing Lists / curl-library / Single Mail


Unknown SSL protocol error in connection to

From: Michael Gawrychowski <>
Date: Thu, 22 Apr 2010 09:23:30 -0400

Hi, I get this curl error while using libcurl for php version 7.19.6:
Unknown SSL protocol error in connection to

This is my code:

curl_setopt($ch, CURLOPT_VERBOSE, 1);

curl_setopt($ch, CURLOPT_HEADER, 1);

curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);

curl_setopt($ch, CURLOPT_USERAGENT,"Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1)");

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');

curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

curl_setopt($ch, CURLOPT_TIMEOUT, 3600);

curl_setopt($ch, CURLOPT_POST, 1);


curl_setopt($ch, CURLOPT_POSTFIELDS,

curl_setopt($ch, CURLOPT_URL, "");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$content = curl_exec ($ch);

I use exactly the same script for a different postini system and it works.
Please let me know what I can do to get this to work.

Thank you

Michael G.

List admin:
Received on 2010-04-22