【问题标题】:How can I fix these OpenSSL and Rails certificate verify failed errors?如何修复这些 OpenSSL 和 Rails 证书验证失败错误?
【发布时间】:2014-03-14 17:26:31
【问题描述】:

在某些时候,我在尝试更新 gems 时开始收到此错误:

SSL_connect 返回=1 errno=0 state=SSLv3 读取服务器证书B:证书验证失败

如何调试和修复这个问题?

【问题讨论】:

  • 似乎是给自己的笔记。
  • 我猜你仍然可以接受你自己的答案。
  • @Nerve - 没有提出问题。这似乎是一篇使用 Stack Overflow 的个人博客文章。
  • 我试图让这个问题更像一个问题,以符合我们关于您自己提出和回答的问题的准则。

标签: ruby gem openssl


【解决方案1】:

http://railsapps.github.io/openssl-certificate-verify-failed.html

详细说明如何修复:

openssl::ssl::sslerror: ssl_connect returned=1 errno=0 state=sslv3 read server certificate b: certificate verify failed

could not load openssl. you must recompile ruby with openssl support or change the sources in your gemfile from 'https' to 'http'. instructions for compiling with openssl using rvm are available at rvm.io/packages/openssl.

【讨论】:

    猜你喜欢
    • 2015-10-19
    • 2014-03-28
    • 2021-11-28
    • 2018-03-12
    • 2019-07-03
    • 2016-11-26
    • 2018-12-21
    • 2012-05-26
    • 2019-12-12
    相关资源
    最近更新 更多