title: PHP curl returns (35): SSL connect error
body: <p>Im trying to visit the following page using php curl 7.35.0 using the following code: </p>
  
  <pre><code>    $this-&gt;ch = curl_init();
      curl_setopt($this-&gt;ch, CURLOPT_CONNECTTIMEOUT, 3000);
      curl_setopt($this-&gt;ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36");
      curl_setopt($this-&gt;ch, CURLOPT_SSL_VERIFYPEER, true);
      curl_setopt($this-&gt;ch, CURLOPT_FOLLOWLOCATION, TRUE);
      curl_setopt($this-&gt;ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
      curl_setopt($this-&gt;ch, CURLOPT_TIMEOUT, 3600);
      curl_setopt($this-&gt;ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($this-&gt;ch, CURLOPT_URL, 'https://asp.reflexion.net/login');
      curl_setopt($this-&gt;ch, CURLOPT_RETURNTRANSFER, 1);
      $content  = curl_exec($this-&gt;ch);
      $httpCode = curl_getinfo($this-&gt;ch, CURLINFO_HTTP_CODE);
      if ($errno    = curl_errno($this-&gt;ch))
      {
          $error_message = curl_strerror($errno);
          echo "cURL error ({$errno}):\n {$error_message}";
      }
      echo "&lt;br&gt;";
      echo "http code: " . $httpCode . "&lt;br&gt;";
      echo "content: " . $content;
  </code></pre>
  
  <p>Which returns the following:</p>
  
  <p>cURL error (35): SSL connect error</p>
  
  <p>http code: 0
  content:</p>
  
  <p>Did anyone run into this problem before?</p>