Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > OpenURI and not verifying self-signed certificates

Reply
Thread Tools

OpenURI and not verifying self-signed certificates

 
 
Jon Lim
Guest
Posts: n/a
 
      11-21-2005
Hi,

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

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

Thanks.
Jon

--
http://www.snowblink.co.uk/


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenURI::HTTPError: 404 Not Found reading http://gems.rubyforge.org/? hadley wickham Ruby 1 11-24-2007 06:55 PM
bug in OpenURI#redirectable? Chris McMahon Ruby 0 02-26-2007 07:18 PM
Are SSL certificates and x.509 certificates the same? n33470 ASP .Net Web Services 0 12-14-2005 03:30 PM
Gem error: OpenURI::HTTPError Daniel Berger Ruby 0 11-18-2005 04:15 PM
Self-issued certificates and commercial certificates. Lord Amoeba Computer Security 2 05-05-2004 01:40 PM



Advertisments