github - Hyperledger Fabric Images v1.4.4 下载问题
问题描述
我正在尝试下载最新的图像 v1.4.4。但它返回了 github 的证书问题。
===> Downloading version 1.4.4 platform specific fabric binaries
===> Downloading:
https://github.com/hyperledger/fabric/releases/download/v1.4.4/hyperledger-fabric-linux-amd64-1.4.4.tar.gz
--2020-01-08 17:50:47--
https://github.com/hyperledger/fabric/releases/download/v1.4.4/hyperledger-fabric-linux-amd64-1.4.4.tar.gz
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
ERROR: cannot verify github.com's certificate, issued by ‘CN=DigiCert SHA2 Extended
Validation Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US’:
Unable to locally verify the issuer's authority.
To connect to github.com insecurely, use `--no-check-certificate'.
tar (child): hyperledger-fabric-linux-amd64-1.4.4.tar.gz: Cannot open: No such file or
directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove 'hyperledger-fabric-linux-amd64-1.4.4.tar.gz': No such file or directory
==> There was an error downloading the binary file.
------> 1.4.4 platform specific fabric binary is not available to download <----
如前所述,我尝试了在 Curl 中使用“-k”和“-insecure”忽略证书验证过程的方法。但同样的问题仍然存在。
我该如何解决这个问题?感谢您的帮助
解决方案
你的ca商店一定有问题。你能告诉我你运行的是哪个操作系统,请告诉我版本吗?
假设它是某种 Linux 风格,请考虑以下选项
请确保操作系统时间与网络同步(时区正确等)。重试该过程
以root身份试试这个:
更新 CA 证书 -f
然后重试该过程。希望它会奏效。
您还有一个选择是,假设您有桌面浏览器,将上面错误消息中的 url 1.4.4 下载链接键入浏览器 ( https://github.com/hyperledger/fabric/releases/download/v1. 4.4/hyperledger-fabric-linux-amd64-1.4.4.tar.gz ) 并手动下载。提取它并手动执行脚本。
推荐阅读
- python - 有没有办法在多维数组的第一项中搜索项目?
- apache-kafka - 我可以让 Kafka 消费者/接收器连接以跳过主题中的特定分区吗?
- elasticsearch - 如何使用 NEST 对象初始化器语法自动映射 Elasticsearch 属性
- javascript - 根据条件值更改输入文本的背景颜色
- rest - 如何使用 curl 在 Dspace 6 REST API 中上传比特流
- mongodb - 在公有子网和私有子网 AWS 之间传递请求
- kubernetes - 使用 Spring 配置文件时,Apache Ignite .Net 节点不会启动
- hive - 按 id 将前 n 个频繁值转置到列
- android-intent - LocalePicker 意图中的附加功能
- c# - ViewModel-不更新继承的属性