我在公司代理后面,并且正在尝试在Ubuntu计算机上安装Hyperledger Sawtooth。
该设置的一部分是安装生锈,但失败。
它使用以下命令,该命令取自 Dockerfile 文件,作为命令
gulp.task('uglify', function() {
return gulp.src("PATH_FOR_BUILD")
.pipe(uglify({ mangle: false }))
.pipe(gulp.dest("PATH_FOR_BUILD"));
});
的一部分:
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 p-0">
test
</div>
</div>
</div>
这给了我一个错误:
docker-compose up
很明显,命令curl --insecure https://sh.rustup.rs -sSf > /usr/bin/rustup-init && chmod +x /usr/bin/rustup-init && rustup-init -y
失败了,因为我在公司代理后面,并且无法连接URL https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init。
在哪里进行修改(添加curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
rustup: command failed: downloader https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init /tmp/tmp.KEMZg5vZRK/rustup-init
标志)以关闭curl的证书验证选项,以使我获得不安全的连接并且安装成功?
我尝试修改 rustup-init.sh 文件,但这没有用。