public
Description: Google Base Auth Class is a base for authenticating to google and making requests to google services.
Home | Edit | New

Stop "warning: peer certificate won't be verified in this SSL session"

Edit googlebase-0.2.0/lib/google/base.rb
Following the line in the “self.request” method (line #139, on the day I looked) that reads “http.use_ssl = true if url.port == 443”, add:
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

Last edited by rparker, Tue Aug 19 11:11:54 -0700 2008
Home | Edit | New
Versions: