“Certificate verify failed” OpenSSL error when using Ruby 1.9.3

后端 未结 7 1352
無奈伤痛
無奈伤痛 2020-12-01 08:20

I\'m using Ruby 1.9.3p0 on Mac OS 10.6.8 (installed using rvm). When I attempt to create a new Rails application using an application template hosted on GitHub, with this (f

相关标签:
7条回答
  • 2020-12-01 09:03

    I was having the same problem.

    The way I finally fixed it was by upgrading my version of OpenSSL I had installed through MacPorts. I was running a version of OpenSSL from 2009 so I have upgraded my MacPorts installation then upgraded my OpenSSL installtion via the ports command line interface and the error disappeared.

    There must be some integration between Ruby/Rails and OpenSSL on Mac based installations that goes without saying. In my case I was having problems getting the Login with Facebook to work properly when Facebook was sending the oAuth/Login token back to my app, Devise & OmniAuth must have needed a valid SSL cert for graph.facebook.com which wasn't in my old version of OpenSSL.

    0 讨论(0)
提交回复
热议问题