diff --git a/lib/reverse_proxy/client.rb b/lib/reverse_proxy/client.rb index 662fcc4..16df1c6 100644 --- a/lib/reverse_proxy/client.rb +++ b/lib/reverse_proxy/client.rb @@ -79,7 +79,7 @@ module ReverseProxy target_request['Accept-Encoding'] = nil # Make the request - Net::HTTP.start(uri.hostname, uri.port, use_ssl: (uri.scheme == "https")) do |http| + Net::HTTP.start(uri.hostname, uri.port, use_ssl: (uri.scheme == "https"), :verify_mode: => OpenSSL::SSL::VERIFY_NONE) do |http| target_response = http.request(target_request) end