lib/vagrant-skytap/api/client.rb in vagrant-skytap-0.2.4 vs lib/vagrant-skytap/api/client.rb in vagrant-skytap-0.2.5
- old
+ new
@@ -36,10 +36,9 @@
@config = config
uri = URI.parse(config.base_url)
@http = Net::HTTP.new(uri.host, uri.port)
- #TODO:NLA Turn this on conditionally based on configuration value.
@http.verify_mode = OpenSSL::SSL::VERIFY_NONE
@http.use_ssl = uri.port == 443 || uri.scheme == 'https'
end