title: SSLv3 read server certificate error while using Mechanize to log into to flicker.com
body: <p>I am trying to execute following code in Windows 7 machine using Mechanize and Ruby.</p>
  
  <pre><code>require 'mechanize'
  
  a = Mechanize.new { |agent|
    # Flickr refreshes after login
    agent.follow_meta_refresh = true
  }
  
  a.get('https://www.flickr.com/') do |home_page|
    signin_page = a.click(home_page.link_with(:text =&gt; /Sign In/))
    puts signin_page.uri
  
    my_page = signin_page.form_with(:id =&gt; 'mbr-login-form') do |form|
      username_field = form.field_with(:id =&gt; 'login-username')
      username_field.value = 'some_username' 
      password_field = form.field_with(:id =&gt; 'login-passwd')
      password_field.value = 'some_password' 
    end.submit
  end
  </code></pre>
  
  <p>I get following error message,</p>
  
  <pre><code>C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.9.4/lib/net/http/persistent/ssl_reuse.rb:70:in `connect': SSL_connect
  SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.9.4/lib/net/http/persistent/ssl_reuse.rb:70:in `block in
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/timeout.rb:55:in `timeout'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.9.4/lib/net/http/persistent/ssl_reuse.rb:70:in `connect'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:751:in `start'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:700:in `start'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:631:in `connection_for'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:994:in `request'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mechanize-2.7.3/lib/mechanize/http/agent.rb:259:in `fetch'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mechanize-2.7.3/lib/mechanize.rb:440:in `get'
          from first.rb:19:in `&lt;main&gt;'
  </code></pre>
  
  <p>I installed gem 'Certified' but still getting error. Any insight?</p>