【发布时间】:2017-03-08 14:16:35
【问题描述】:
当我尝试执行 composer install 或 composer update 时,我收到一条错误消息,指出无法验证 SSL 证书。
[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
有人知道我该如何解决这个问题吗?
【问题讨论】:
-
请粘贴作曲家文件的内容
-
你当前的 PHP 版本是多少?
-
@JaredChu 我的 PHP 版本是 5.6.24
-
@PeeHaa 对不起!现在错误消息应该是文本。
标签: php laravel terminal composer-php