lib/skylight/util/http.rb in skylight-0.1.5.alpha1 vs lib/skylight/util/http.rb in skylight-0.1.5.alpha2
- old
+ new
@@ -95,10 +95,10 @@
http = Net::HTTP.new @host, @port
if @ssl
http.use_ssl = true
- http.ca_file = DEFAULT_CERT_FILE unless HTTP.ca_cert_file?
+ http.ca_file = DEFAULT_CA_FILE unless HTTP.ca_cert_file?
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
end
http.start do |client|
res = client.request(req)