Skip to content

Commit

Permalink
security-utils: min tls ver to 1.2 (#165)
Browse files Browse the repository at this point in the history
Co-authored-by: vmenge <victor.ferreira.menge@toolsforhumanity.com>
  • Loading branch information
vmenge and vmenge committed Jul 22, 2024
1 parent 0f05ed9 commit 18d1635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security-utils/src/reqwest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub fn get_certs() -> &'static VendoredCerts {
pub fn http_client_builder() -> ClientBuilder {
let certs = get_certs();
Client::builder()
.min_tls_version(reqwest::tls::Version::TLS_1_3)
.min_tls_version(reqwest::tls::Version::TLS_1_2)
.tls_built_in_root_certs(false)
.https_only(true)
.add_root_certificate(certs.aws_root_ca1.clone())
Expand Down

0 comments on commit 18d1635

Please sign in to comment.