Skip to content
Browse files

Default to SSL verify_none.

This is what I expect to be the common case.
  • Loading branch information...
1 parent 371e91e commit 8fc4b756b156ee7ad8bc7bd41aa47466da79095c @cwninja cwninja committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/geminabox_client.rb
View
1 lib/geminabox_client.rb
@@ -9,6 +9,7 @@ def initialize(url)
@http_client = HTTPClient.new
@http_client.set_auth(url_for(:upload), @username, @password) if @username or @password
@http_client.www_auth.basic_auth.challenge(url_for(:upload)) # Workaround: https://github.com/nahi/httpclient/issues/63
+ @http_client.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE
end
def extract_username_and_password_from_url!(url)

0 comments on commit 8fc4b75

Please sign in to comment.
Something went wrong with that request. Please try again.