certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)

redis集群配置中

>gem sources -a https://ruby.taobao.org/

Error fetching https://gems.ruby-china.org/:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)

出现了这个问题。。在百度上找了好多资料都不行;

https://stackoverflow.com/questions/10728436/opensslsslsslerror-ssl-connect-returned-1-errno-0-state-sslv3-read-server-c这里说的好高端的样子也不行。。然后在某论坛看到一个弱弱的回答:‘是不是时间设置有问题’

然后果断在系统里面输入date。。果然日期显示有问题

>ntpdate time.windows.com

>date         //再次查看时间没问题了

>gem sources -a https://ruby.taobao.org/   //再次输入

https://ruby.taobao.org/ added to sources   //成功

转载于:https://www.cnblogs.com/cyq632694540/p/7128163.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
looking in indexes: https://nexuscimgmt.sgp.dbs.com:8443/nexus/repository/pypi-all/simple/ could not fetch url https://nexuscimgmt.sgp.dbs.com:8443/nexus/repository/pypi-all/simple/flask/: there was a problem confirming the ssl certificate: httpsconnectionpool(host='nexuscimgmt.sgp.dbs.com', port=8443): max retries exceeded with url: /nexus/repository/pypi-all/simple/flask/ (caused by sslerror(sslcertverificationerror(1, '[ssl: certificate_verify_failed] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))) - skipping could not fetch url https://nexuscimgmt.sgp.dbs.com:8443/nexus/repository/pypi-all/simple/pip/: there was a problem confirming the ssl certificate: httpsconnectionpool(host='nexuscimgmt.sgp.dbs.com', port=8443): max retries exceeded with url: /nexus/repository/pypi-all/simple/pip/ (caused by sslerror(sslcertverificationerror(1, '[ssl: certificate_verify_failed] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))) - skipping warning: retrying (retry(total=4, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(sslcertverificationerror(1, '[ssl: certificate_verify_failed] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))': /nexus/repository/pypi-all/simple/flask/ warning: retrying (retry(total=3, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(sslcertverificationerror(1, '[ssl: certificate_verify_failed] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))': /nexus/repository/pypi-all/simple/flask/ warning: retrying (retry(total=2, connect=none, read=none, redirect=none, status=none)) after connection broken by 'sslerror(sslcertverificationerror(1, '[ssl: certificate_verify_failed] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))': /nexus/repository/pypi-all/simple/flask/ warning: retrying
06-28

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值