Ruby 新浪围脖 OAuth2.0 认证。

ycxxww · November 18, 2012 · Last by ycxxww replied at November 19, 2012 · 3379 hits

各位 大牛们。。。哪位在出来这个 weibo_2 Gem 包时遇到过这种错误 Faraday::Error::ConnectionFailed in HomeController#index

'SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed'

你好!就是用的那个东东~~我就是用那个 wiki 设置了一下!还是不行。

https://github.com/technoweenie/faraday/wiki/Setting-up-SSL-certificates OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE 如果设置了这个,肯定不会报 certificate verify failed

这句话就没有看懂~~请问下在什么地方设置呢?

谢谢你们~已经搞定了!

You need to Sign in before reply, if you don't have an account, please Sign up first.