Bundle root certs

This commit is contained in:
Steven Bazyl 2013-05-31 15:38:00 -07:00
parent aa7a254d23
commit 664e21290a
2 changed files with 2186 additions and 1 deletions

2183
lib/cacerts.pem Normal file

File diff suppressed because it is too large Load Diff

View File

@ -109,8 +109,10 @@ module Google
@discovered_apis = {}
self.connection = Faraday.new do |faraday|
faraday.adapter Faraday.default_adapter
faraday.options.params_encoder = Faraday::FlatParamsEncoder
faraday.ssl.ca_file = File.expand_path('../../cacerts.pem', __FILE__)
faraday.ssl.verify = true
faraday.adapter Faraday.default_adapter
end
return self