Skip to content

Commit

Permalink
OpenSSL::SSL::VERIFY_NONE set
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantsingh304 committed Jul 16, 2017
1 parent 8b54488 commit 9c673ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jenkins_api_client/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def make_http_request(request, follow_redirect = @follow_redirects)
pkcs12 =OpenSSL::PKCS12.new(File.binread(@pkcs_file_path), @pass_phrase!=nil ? @pass_phrase : "")
http.cert = pkcs12.certificate
http.key = pkcs12.key
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
elsif @ssl
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
Expand Down

0 comments on commit 9c673ef

Please sign in to comment.