poniedziałek, 23 marca 2009

warning: peer certificate won't be verified in this SSL session


# Remove warning: "warning: peer certificate won't be verified in this SSL session"
require 'openssl'
module OpenSSL
module SSL
remove_const :VERIFY_PEER
end
end
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE


Nice and useful.

Brak komentarzy: