Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Israel Pasos's Profile

GitHub User: IsraelPasos

Site: http://www.spacestation6.com

Comments by Israel Pasos

Avatar

I solved this issue by modifying omniauth.rb. Basically you need to pass the path to your certificate, it's an issue related to openssl.

provider :facebook, Facebook::APP_ID, Facebook::SECRET, {:client_options => {:ssl => {:ca_file => "/opt/local/share/curl/curl-ca-bundle.crt"}}}

You can find more info and the link to the certificate in the following links:

https://github.com/arsduo/koala/wiki/HTTP-Services
http://martinottenwaelter.fr/2010/12/ruby19-and-the-ssl-error/