small medium large xlarge

Arthur-z-lync_pragsmall
12 Mar 2017, 02:53
Arthur Zubarev (1 post)

Hi there, the book discusses how to process a website that has its traffic not encrypted under SSL: e.g. nokogiri http://www.example.com works, but not nokogiri https://www.cnn.com

A more verbose error text: C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in connect’: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in block in connect' from C:/Ruby22-x64/lib/ruby/2.2.0/timeout.rb:73:in timeout’ from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in connect' from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:863:in do_start’ from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:852:in start' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:318:in open_http’ from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:736:in buffer_open' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:211:in block in open_loop’ from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:209:in catch' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:209:in open_loop’ from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:150:in open_uri' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:716:in open’ from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:724:in read' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8-x64-mingw32/bin/nokogiri:96:in <top (required)>’ from C:/Ruby22-x64/bin/nokogiri:22:in load' from C:/Ruby22-x64/bin/nokogiri:22:in '`

I initially thought it is an issue that is Windows specific, especially because I could not (but wanted to update Nokogiri). I followed http://guides.rubygems.org/ssl-certificate-update/#installing-using-update-packages which resulted in me being able to upgrade the gems. But Nokogiri refuses to work.

You must be logged in to comment