我正在尝试下载最新的图像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身份尝试此操作:
update-ca-certificates -f
然后重试该过程。希望它能工作。
还有一个选择,就是假设您使用的是台式机浏览器,请在浏览器中输入URL 1.4.4 download link from the error message above(https://github.com/hyperledger/fabric/releases/download/v1.4.4/hyperledger-fabric-linux-amd64-1.4.4.tar.gz)并手动下载。解压缩并手动执行脚本。