I've read a lot about this error especially in OmniAuth for Rails 3. I have a few questions because currently I'm stuck on it.
The consensus in this post was that it couldn't reference the certs properly. My first question is this (I'm using Windows 7 to preface the question):
Where exactly in my hard drive would I begin to look to find the certs? I used RailsInstaller to install Rails 3 and the only thing that I can find that is close to that location is in "Git" where there is a "cert" directory with the ca-path file. However, the reference that most people have is this "/etc/certs/" or something (basically a relative url). My question is where is the parent directory from which this is referenced? It may be extremely simple but I just don't know. Would it be my RailsInstaller folder in the C:/ directory?
In my config\initializers\devise.rb
file cacert.pem from http://curl.haxx.se/ca/ put to your rails app config directory
thanks to this posts:
Why does accessing a SSL site with Mechanize on Windows fail, but on Mac work?
http://grokbase.com/p/gg/rubyonrails-talk/121bfxzwke/rails-re-windows-rails-3-1-3-omniauth-browserid-ssl-erro
Hi Vivek I resolve this issue on windows 7, you can get certificate from here: https://gist.github.com/fnichol/867550
So location for this certificate will be C:\RailsInstaller\cacert.pem
Full image: config\initializers\omniauth.rb