file could not be downloaded: Peer certificate
程序员文章站
2022-06-24 20:34:33
...
composer require aws/aws-sdk-php时候报如下错!
[Composer\Downloader\TransportException]
The "https://packagist.laravel-china.org/p/aws/aws-sdk-php%249b148b0156ebe4ff27b810e1b682b39ba578f8a895daa3646554e0297d96e09d.json" file could not be downloaded: Peer certifica
te CN=*.phphub.org' did not match expected CN=
packagist.laravel-china.org'
Failed to enable crypto
failed to open stream: operation failed
遇到这样的问题!
怎么解决?更换镜像!
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer require aws/aws-sdk-php
上一篇: Android 定时启动dingding
下一篇: composer install报错,[Composer\Downloader\TransportException],file could not be downloaded,
推荐阅读
-
file could not be downloaded: Peer certificate
-
composer install报错,[Composer\Downloader\TransportException],file could not be downloaded,
-
composer update报错: The "https://packagist.phpcomposer.com/p/xxx file could not be downloaded
-
[转]composer update报错: The "https://packagist.phpcomposer.com/p/xxx file could not be downloaded
-
解决:The “https://packagist.laravel-china.org/packages.json” file could not be downloaded
-
composer 安装tp5报:file could not be downloaded (HTTP/1.1 404 Not Found) 解决办法