From: Keith Fahlgren Date: 2005-12-13T00:39:13+09:00 Subject: How To Turn Off Net::HTTP w/SSL Certificate Warnings? Hi, I've got a little Ruby script that needs to use SSL but doesn't really worry about authentication at all. Here's the relevant code: https = Net::HTTP.new(URL, 443) https.use_ssl = true data = "" https.start{|h| h.get2(url) {|resp| data = resp.body } } When I run this, it works great but gives me (on STDERR): peer certificate won't be verified in this SSL session I don't really care about the verification, so how should I turn this warning off or otherwise prevent it from printing? Thanks, Keith