I've "bundle update"d my applications recently, and I started getting exceptions due to SSL certificate validation. It's a mess in ruby's OpenSSL / Net::HTTPS library, and people's wrappers didn't seem to make it much better.
I fixed the exception by adding a curl's CA bundle, and by wiring it into oauth2. Then I took advantage of the opportunity to enable certificate verification in RestClient. This removes the possibility of man-in-the-middle attacks between the Rails application server and Facebook (improbable, but still).
Please consider pulling in the change when you get a chance!
Hi again, Nicolas!
I've "bundle update"d my applications recently, and I started getting exceptions due to SSL certificate validation. It's a mess in ruby's OpenSSL / Net::HTTPS library, and people's wrappers didn't seem to make it much better.
I fixed the exception by adding a curl's CA bundle, and by wiring it into oauth2. Then I took advantage of the opportunity to enable certificate verification in RestClient. This removes the possibility of man-in-the-middle attacks between the Rails application server and Facebook (improbable, but still).
Please consider pulling in the change when you get a chance!
Thank you so much for the awesome gem! Victor