php - composer update returns certificate verify failed
<p>When I try to do <code>composer install</code> or <code>composer update</code> I get an error message that says that the SSL certificate cannot be verified. </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 ver  
  ify failed                                                               
  Failed to enable crypto                                                  
  failed to open stream: operation failed  
</code></pre>

<p>Has anybody an idea how I can solve this problem?</p>