OpenSSL trouble with Ruby 1.9.3

烂漫一生 提交于 2019-11-30 12:44:32

I had the same problem connecting to an authorization gateway. In the end I was able to connect by forcing sslv3

http = Net::HTTP.new(uri.host, uri.port)

http.use_ssl = true if @is_https
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @is_https
http.ssl_version = :SSLv3

I have the same problem... here is information, that rvm pkg install openssl and rvm reinstall 1.9.3-p194 --with-openssl-dir=~/.rvm/usr solves the problem, but it doesn't help me

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