OpenURI and not verifying self-signed certificates

Discussion in 'Ruby' started by Jon Lim, Nov 21, 2005.

  1. Jon Lim

    Jon Lim Guest

    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/
     
    Jon Lim, Nov 21, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Thompson
    Replies:
    63
    Views:
    1,750
    Darren
    Sep 20, 2005
  2. Richard Maher
    Replies:
    8
    Views:
    478
    Roedy Green
    Sep 28, 2007
  3. n33470

    Are SSL certificates and x.509 certificates the same?

    n33470, Dec 14, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    193
    n33470
    Dec 14, 2005
  4. Neumann
    Replies:
    0
    Views:
    113
    Neumann
    Aug 11, 2006
  5. Richard Maher
    Replies:
    2
    Views:
    137
    Richard Maher
    Sep 6, 2007
Loading...

Share This Page