nsanta / fbgraph

Facebook Open Graph API in Ruby
MIT License
324 stars 40 forks source link

SSL certificate errors #56

Closed cameronyule closed 13 years ago

cameronyule commented 13 years ago

I'm experiencing the following error while trying to use authenticated methods in fbgraph 1.8.3:

RestClient::SSLCertificateNotVerified (SSL Verification failed -- Preverify: false, Error: unable to get local issuer certificate (20)

I found two related mailing list threads (one, two) which mentioned the restclient_with_cert gem, however after including this in my Gemfile and updated my bundle the errors persisted.

Copying the certificates declared in restclient_with_cert's lib/cert file into fbgraph's lib/cacert.pem makes things work again, so I'm assuming I'm not using that gem correctly.

Any ideas the best way to resolve this issue?

cameronyule commented 13 years ago

Just noticed that dropping back to fbgraph 1.8.0 fixes this error - will use that in the interim.

pwnall commented 13 years ago

Sorry for the trouble, Cameron, and thank you for the diagnostic! I'll drop back to the old cacert.pem and, if everything works well, I'll cut a new release.

pwnall commented 13 years ago

Fixed in 1.8.4. Thank you so much for the bug report, Cameron!