lib/appsignal/transmitter.rb in appsignal-0.11.4.beta.0 vs lib/appsignal/transmitter.rb in appsignal-0.11.4
- old
+ new
@@ -60,13 +60,12 @@
end
def http_client
Net::HTTP.new(uri.host, uri.port).tap do |http|
if uri.scheme == 'https'
- http.use_ssl = true
+ http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
- http.ssl_version = :TLSv1
- http.ca_file = CA_FILE_PATH
+ http.ca_file = CA_FILE_PATH
end
end
end
end
end