-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I have installed your gem, restarted my console. but it's not fixing the SSL error.
Any ideas?
ruby version: ruby 2.2.4p230 (2015-12-16 revision 53155) [i386-mingw32]
Error after and before installing the gem: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Code used for the test:
url = URI.parse("https://www.google.com/")
http = Net::HTTP.new(url.host, url.port)
http.open_timeout = 10
http.read_timeout = 10
path = url.path
path = '/' if path == ''
path += '?' + url.query unless url.query.nil?
http.use_ssl = true
request = Net::HTTP::Get.new(path, nil)
response = http.request(request)
puts response.inspect
Metadata
Metadata
Assignees
Labels
No labels