lib/scout/command/troubleshoot.rb in scout-5.5.9 vs lib/scout/command/troubleshoot.rb in scout-5.5.10
- old
+ new
@@ -107,10 +107,10 @@
Timeout.timeout(5 * 60, APITimeoutError) do
http = Net::HTTP.new(url.host, url.port)
if url.is_a? URI::HTTPS
http.use_ssl = true
http.ca_file = File.join( File.dirname(__FILE__),
- *%w[.. .. data cacert.pem] )
+ *%w[.. .. .. data cacert.pem] )
http.verify_mode = OpenSSL::SSL::VERIFY_PEER |
OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
end
response = no_warnings { http.start(&connector) }
end