gpt4 book ai didi

bash - 使用 curl -L https ://get. rvm.io | 得到 60 个错误bash -s

转载 作者:太空宇宙 更新时间:2023-11-03 13:27:55 27 4
gpt4 key购买 nike

我好像不知道怎么跑

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

并且不会出错。我有一个 mac osx mavericks,我得到的错误是:

% Total % Received % Xferd 平均速度 时间 时间 时间 当前 Dload Upload Total Spent Left 速度 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (60) SSL 证书问题:证书链中的自签名证书更多详情:http://curl.haxx.se/docs/sslcerts.html

curl 默认执行 SSL 证书验证,使用“bundle” 证书颁发机构 (CA) 公钥(CA 证书)。如果默认 捆绑文件不够用,您可以指定一个备用文件 使用 --cacert 选项。如果此 HTTPS 服务器使用由中表示的 CA 签名的证书 bundle ,证书验证可能由于以下原因而失败 证书有问题(它可能已过期,或者名称可能 与 URL 中的域名不匹配)。如果您想关闭 curl 的证书验证,请使用 -k(或 --insecure)选项。

我尝试使用 --insecure 并尝试将 --cacert 用于此处的 .pem 文件:

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

我似乎无法安装 certutil。我就是想不通。

如有任何帮助,我们将不胜感激!

最佳答案

您需要更新您的系统和您的系统 SSL 证书,使用此答案获取有关更新证书的更多详细信息 => https://stackoverflow.com/a/19151697/497756

关于bash - 使用 curl -L https ://get. rvm.io | 得到 60 个错误bash -s,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19915693/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com