Skip to content

Instantly share code, notes, and snippets.

@wtnabe
Created January 14, 2010 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wtnabe/276924 to your computer and use it in GitHub Desktop.
Save wtnabe/276924 to your computer and use it in GitHub Desktop.
diff --git a/examples/tig.rb b/examples/tig.rb
index c828a5f..9d69bef 100755
--- a/examples/tig.rb
+++ b/examples/tig.rb
@@ -2148,7 +2148,7 @@ class TwitterIrcGateway < Net::IRC::Server::Session
if uri.is_a? URI::HTTPS
http.use_ssl = true
http.cert_store = @cert_store
- http.verify_mode = OpenSSL::SSL::VERIFY_PEER
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
end
http
rescue => e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment