Get 60 error with curl -L https://get.rvm.io | bash -s

耗尽温柔 提交于 2019-12-24 13:15:15

问题


I can't seem to figure out how to run

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

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

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: self signed certificate in certificate chain 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.

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

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

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

Any help would be greatly appreciated!


回答1:


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



来源:https://stackoverflow.com/questions/19915693/get-60-error-with-curl-l-https-get-rvm-io-bash-s

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!