title: Why does accessing a SSL site with Mechanize on Windows fail, but on Mac work?
body: <p>This is the code I'm using to connect to the SSL site.</p>
  
  <pre><code>require 'mechanize'
  a = Mechanize.new
  page = a.get 'https://site.com'
  </code></pre>
  
  <p>I"m using using Ruby 1.9.3 and Mechanize 2.1pre1 + dependencies. On Mac the above code works and returns the page. On windows 7 running the same versions it gives me the following error:</p>
  
  <pre><code>OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3
  read server certificate B: certificate verify failed
  </code></pre>
  
  <p>Reverting to Mechanize 2.0.1 seems to solve this problem, but I then get plagued with the <code>too many connections reset by peer</code> problem. Thus that is not a solution.</p>
  
  <p>I've tried doing <code>a.verify_mode = false</code>, but that does not do anything. I have read that you can turn off SSL verification by using:</p>
  
  <pre><code>open(uri,:ssl_verify_mode =&gt; OpenSSL::SSL::VERIFY_NONE)
  </code></pre>
  
  <p>How can I turn it off in Mechanize ? Why am I only getting this error on Windows ?</p>