Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate Verification is Broken on Windows #306

Closed
csaunders opened this issue Jun 20, 2014 · 1 comment
Closed

Certificate Verification is Broken on Windows #306

csaunders opened this issue Jun 20, 2014 · 1 comment

Comments

@csaunders
Copy link

I have some windows users on the shopify theme that experiencing some SSL certificate verification issues.

Prior to the update we were on v0.10.0 which did not validate certificate authenticity at all during the default configuration.

I have a ruby installation on my windows machine that I can probably try to replicate the bug though I have no clue how to work with cert stores in Ruby on Windows.

@csaunders
Copy link
Author

Replication is super simple.

irb(main):001:0> require 'httparty'
=> true
irb(main):003:0> HTTParty::VERSION
=> "0.13.1"
irb(main):004:0> HTTParty.get('https://shopify.com')
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
        from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:799:in `connect'
        from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:799:in `block in connect'
        from C:/Ruby193/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
        from C:/Ruby193/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
        from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:799:in `connect'
        from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
        from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:744:in `start'
        from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1284:in `request'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.13.1/lib/httparty/request.rb:93:in `perform'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.13.1/lib/httparty.rb:521:in `perform_request'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.13.1/lib/httparty.rb:457:in `get'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.13.1/lib/httparty.rb:559:in `get'
        from (irb):4
        from C:/Ruby193/bin/irb:12:in `<main>'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants