本文介绍了使用curl -L https://get.rvm.io获得60错误bash -s的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎不知道如何运行

 curl -L https://get.rvm.io | bash -s

并且没有得到错误.我有一个Mac OSX特立独行者,我得到的错误是:

And not get an error. I have a mac osx mavericks and the error I get is this:

%总接收百分比%Xferd平均速度时间时间时间当前Dload上传总花费左速度0 0 0 0 0 0 0 0-:-:--:-:--:-:-0curl:(60)SSL证书问题:证书链中的自签名证书此处有更多详细信息: http://curl.haxx.se/docs/sslcerts.html

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (60) SSL certificate problem: self signed certificate in certificate chainMore details here: http://curl.haxx.se/docs/sslcerts.html

curl默认情况下使用捆绑包"执行SSL证书验证证书颁发机构(CA)的公钥(CA证书).如果默认捆绑文件不足,您可以指定备用文件使用--cacert选项.如果此HTTPS服务器使用由表示为CA的证书签名的证书捆绑软件,证书验证可能由于以下原因而失败证书有问题(证书可能已过期,或者名称可能与网址中的域名不匹配).如果您想关闭curl对证书的验证,请使用-k(或--insecure)选项.

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.

我尝试使用--insecure并尝试对--pem文件使用--cacert:

I tried using --insecure and I tried --cacert to the .pem file here:

http://curl.haxx.se/docs/caextract.html

我似乎无法安装certutil.我只是想不通.

I cant seem to install certutil. I just can't figure it out.

任何帮助将不胜感激!

推荐答案

您需要更新系统和系统SSL证书,请使用此答案以获取有关更新证书的更多详细信息=>

you need to update your system and your system SSL certificates, use this answer for more details on updating certificates => https://stackoverflow.com/a/19151697/497756

这篇关于使用curl -L https://get.rvm.io获得60错误bash -s的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 02:07