summaryrefslogtreecommitdiff
blob: 3133194fefb7482dd043c74e28fd4ad6eb19bec5 (plain)
1
2
3
4
5
6
7
8
9
10
--- lib/right_http_connection.rb.old	2010-01-28 00:35:07.000000000 +0100
+++ lib/right_http_connection.rb	2010-02-11 20:20:28.872034048 +0100
@@ -299,6 +299,7 @@
           true
         }
         @http.use_ssl = true
+        @http.verify_mode = OpenSSL::SSL::VERIFY_NONE # Looks like Ruby 1.9 defaults to VERIFY_PEER which doesn't work well
         ca_file = get_param(:ca_file)
         if ca_file
           @http.verify_mode     = OpenSSL::SSL::VERIFY_PEER