Skip to content

Instantly share code, notes, and snippets.

@salipro4ever
Last active December 25, 2019 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salipro4ever/05068db9883f50bbd6d05ea7e5f63d16 to your computer and use it in GitHub Desktop.
Save salipro4ever/05068db9883f50bbd6d05ea7e5f63d16 to your computer and use it in GitHub Desktop.
[Composer\Downloader\TransportException]                                                                                                
  The "https://repo.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 enable crypto                                                                                                                 
  failed to open stream: operation failed

=>

yum install -y ca-certificates
update-ca-trust force-enable

REF: composer/composer#6870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment