From: Matthew Lagace Date: 2007-10-28T02:26:19+09:00 Subject: Re: open-uri + OpenSSL Ok when I do that, it says: ssl value changed, but session already started dusty wrote: > On Oct 27, 1:35 am, Matthew Lagace wrote: >> Hello, >> >> I am usring open-uri to open an https:// link and when it tries to read >> it, I get the 'connect' : certificate verify failed error. How can I >> bypass this SSL verification? >> >> Thanks, >> M >> -- >> Posted viahttp://www.ruby-forum.com/. > > Set the verify_mode to OpenSSL::SSL::VERIFY_NONE > > eg: > > http = Net::HTTP.new(host,port) > http.use_ssl = true > http.verify_mode = OpenSSL::SSL::VERIFY_NONE -- Posted via http://www.ruby-forum.com/.