Skip to content

Doesn't fix the issue #2

@sgeef

Description

@sgeef

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions