laravel - php - composer update returns certificate verify failed -


when try composer install or composer update error message says ssl certificate cannot verified.

  [composer\downloader\transportexception]                                    "https://packagist.org/packages.json" file not downloaded:      ssl operation failed code 1. openssl error messages:                  error:14090086:ssl routines:ssl3_get_server_certificate:certificate ver     ify failed                                                                  failed enable crypto                                                     failed open stream: operation failed   

has idea how can solve problem?

i haven't encountered myself, after doing quick search, found potential solution (if you're using php 5.6):

# update ports tree (software list) $ sudo port -v selfupdate # install php (shortcut compiling php our required libs) $ sudo port install php56 # install mcrypt library php $ sudo port install php56-mcrypt # install curl library php $ sudo port install php56-curl # configure php version system should use $ sudo port select php php56 

source: https://github.com/composer/composer/issues/2798 (there other potential solutions problem available there well. hope helps!


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -