Hi, I get this curl error while using libcurl for php version 7.19.6:
Unknown SSL protocol error in connection to mc-s9.postini.com:443



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_SSLVERSION,3);

curl_setopt($ch, CURLOPT_POSTFIELDS,
"action=login&email=".$login."&pword=".$password."&Login_x=32&Login_y=12");

curl_setopt($ch, CURLOPT_URL, "https://login.postini.com/exec/login";);


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: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to