Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
add danger clause for ignoring invalid certificates
Browse files Browse the repository at this point in the history
needed to make e2e test pass on macOS Catalina
  • Loading branch information
da-kami committed Apr 16, 2020
1 parent dba7cbf commit c9919e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cnd/src/swap_protocols/halight/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ fn client(certificate: &Certificate, macaroon: &Macaroon) -> Result<reqwest::Cli
);

Ok(reqwest::Client::builder()
.danger_accept_invalid_certs(true)
.add_root_certificate(cert)
.default_headers(default_headers)
.build()?)
Expand Down

0 comments on commit c9919e6

Please sign in to comment.