title: Cannot install Composer on Windowsn 10 Pro build 1809: SSL operation failed with code 1
body: <p>I tried to install Composer on a fresh newly installed Windows 10 Pro build 1809 and I got this error message.</p>
  
  <blockquote>
    <p>The Composer installer script was not successful [exit code 1].
    OpenSSL failed with a 'certificate verify failed' error. This
    indicates a problem with the Certificate Authority file(s) on your
    system, which may be out of date.</p>
  </blockquote>
  
  <p>Certificate location [from openssl.cafile ini setting]:</p>
  
  <pre><code>D:\xampp\apache\bin\curl-ca-bundle.crt
  </code></pre>
  
  <p>The php.ini used by your command-line PHP is: <code>D:\xampp\php\php.ini</code></p>
  
  <p>Script Output:</p>
  
  <pre><code>The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:  
  error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
      Failed to enable crypto
      failed to open stream: operation failed
  </code></pre>
  
  <p>I've tried to replace the "curl-ca-bundle.crt" with "cacert.pem" from <a href="http://curl.haxx.se/ca/cacert" rel="nofollow noreferrer">http://curl.haxx.se/ca/cacert</a> or with "ca-bundle.crt" but it's nothing, the error messages still happened.</p>
  
  <p>Can anyone help me to fix this problem?</p>