title: curl errno 35 (Unknown SSL protocol error in connection to [secure site]:443)
body: <p>i'm trying to make post to an external url using curl, the externa page use https, here is the desc of the server i'm using  </p>
  
  <p>Server  Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.3.0  </p>
  
  <p>the external url make a redirect to another url that i send in the post, but everytime i try i get this error  </p>
  
  <blockquote>
    <p>curl_errno=35 (Unknown SSL protocol error in connection to [secure site]:443)  </p>
  </blockquote>
  
  <p>so i check the firebug for the response and it say  </p>
  
  <p>Failed to load source for: <code>http://localhost/3Party/PHP_VPC_3Party_Auth_Capture_Order_DO.php</code></p>
  
  <p>Here is the code I'm using  </p>
  
  <pre><code>ob_start();
  
  // initialise Client URL object
  $ch = curl_init();
  // set the URL of the VPC
  
  curl_setopt ($ch, CURLOPT_URL, $vpcURL);
  curl_setopt ($ch, CURLOPT_POST, 1);
  curl_setopt ($ch, CURLOPT_POSTFIELDS, $this-&gt;postData);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);  
  curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
  curl_exec ($ch);
  if (curl_error($ch)) {
      $this-&gt;errorMessage = 
          "curl_errno=". curl_errno($ch) . " (" . curl_error($ch) . ")";
  }
  curl_close ($ch);
  </code></pre>