tenderlove/mechanize — Issue #179: SSL failure on Windows
Author: oferben
Created: 2011-12-25 09:21:50+00:00
State: open

Hi,

I tested 2.1 on windows.
I get this:

Uncaught exception: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent/ssl_reuse.rb:70:in `connect'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent/ssl_reuse.rb:70:in `block in connect'
C:/Ruby192/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
C:/Ruby192/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent/ssl_reuse.rb:70:in `connect'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:632:in `start'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent.rb:582:in `reset'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent.rb:397:in `connection_for'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent.rb:616:in `request'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/mechanize-2.1/lib/mechanize/http/agent.rb:264:in `fetch'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/mechanize-2.1/lib/mechanize.rb:319:in `get'

The same code works on my MAC.

Ofer