Trying to update packages using composer:
Code: Select all
$ composer update
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" 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
[SOLUTION]
Seems the CACert.pem root certificate was either missing or outdated.
I've installed it from default repos (Debian 9):
Code: Select all
$ sudo apt install ca-cacert