title: PHP Composer failed to open stream: Cannot connect to HTTPS server through proxy
body: <p>While running composer install, I keep getting following error all of a sudden</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:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
  failed to open stream: Cannot connect to HTTPS server through proxy
  </code></pre>
  
  <p>Does anyone had this issue before?</p>
  
  <p>Following are my composer settings -</p>
  
  <pre><code>[cache-ttl] 15552000
  [cache-files-ttl] 15552000
  [cache-files-maxsize] 300MiB (314572800)
  [bin-compat] auto
  [discard-changes] false
  [autoloader-suffix]
  [sort-packages] false
  [optimize-autoloader] false
  [classmap-authoritative] false
  [apcu-autoloader] false
  [prepend-autoloader] true
  [github-domains] [github.com]
  [bitbucket-expose-hostname] true
  [disable-tls] true
  [secure-http] false
  [cafile]
  [capath]
  [github-expose-hostname] true
  [gitlab-domains] [gitlab.com]
  [store-auths] prompt
  [archive-format] tar
  [archive-dir] .
  [htaccess-protect] 1
  </code></pre>