報錯信息如圖
$ composer install
Loading composer repositories with package information
The "https://packagist.laravel-china.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
https://packagist.laravel-china.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
[Composer\Downloader\TransportException]
The "https://packagist.laravel-china.org/p/symfony/polyfill-intl-idn%24751c98af7d94d0e25f2308b66589d01085b4367f760908f3ffcdca70193d67b3.json" file could no
t 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
解決方法
https://github.com/composer/composer/issues/3346#issuecomment-76593763