加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 尝试在我的VPS上安装RVM时出错

发布时间:2020-12-14 02:42:49 所属栏目:Linux 来源:网络整理
导读:我正在努力将我的第一个rails应用程序部署到我的mediatemple(dv),我首先尝试使用此命令安装RVM: bash -s stable (curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) 我收到以下错误: curl: (60) SSL certificate problem
我正在努力将我的第一个rails应用程序部署到我的mediatemple(dv),我首先尝试使用此命令安装RVM:
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

我收到以下错误:

curl: (60) SSL certificate problem,verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
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). The default
 bundle is named curl-ca-bundle.crt; 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.

Could not download 'https://github.com/wayneeseguin/rvm/tarball/stable'.
  Make sure your certificates are up to date as described above.
  To continue in insecure mode run 'echo insecure >> ~/.curlrc'.

看起来我应该能够指定-k / – insecure来跳过证书检查,但是我该怎么做呢?我是一个Linux新手.

解决方法

您是否正确阅读了错误消息?该消息的最后一行有解决方案.

echo insecure >> ~/.curlrc

在shell中运行上面的内容并重新运行RVM安装程序.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读