title: Native PHP 5.6 OpenSSL Composer.phar failed to enable crypto on Windows
body: <p>I have a problem with PHP 5.6 native on a Windows machine. I get this error when I try to run a composer update (php composer.phar update):</p>
  
  <pre><code>[Composer\Downloader\TransportException]
  The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
  error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
  Failed to enable crypto
  failed to open stream: operation failed
  </code></pre>
  
  <p>The openssl extension is loaded. I already downloaded this file <code>http://curl.haxx.se/ca/cacert.pem</code> and saved it to a path on my machine and set this path in the php.ini like </p>
  
  <p><code>openssl.cafile = "c:\path\to\cacert.pem"</code></p>
  
  <p>But it didn't work, still the same error.</p>