Skip to content

Commit

Permalink
Attempt something
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed May 20, 2021
1 parent bba13ac commit 04d2e78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/integration/excon_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@
end

it "works with client cert and key provided as file path" do
Excon.defaults[:ssl_verify_peer] = false
OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:ciphers] += ":DES-CBC3-SHA"
request = HTTPI::Request.new(@server.url)
request.auth.ssl.ca_cert_file = IntegrationServer.ssl_ca_file
request.auth.ssl.cert_file = "spec/fixtures/client_cert.pem"
Expand Down

0 comments on commit 04d2e78

Please sign in to comment.