Forum: Ruby OpenURI and not verifying self-signed certificates

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
snowblink (Guest)
on 2005-11-21 18:20
(Received via mailing list)

How can I tell open-uri to not verify the certificate when I'm using

Is there something nicer than hacking open-uri.rb?
    235       #http.verify_mode = OpenSSL::SSL::VERIFY_PEER
    236       http.verify_mode = OpenSSL::SSL::VERIFY_NONE

This topic is locked and can not be replied to.