From 8fa4eaffc540a163d8c7c7b7448b72a8c4324965 Mon Sep 17 00:00:00 2001 From: chris-02 <103339277+chris-02@users.noreply.github.com> Date: Sun, 22 Jan 2023 11:22:18 +0100 Subject: [PATCH] client: Use system certificate store --- Cargo.lock | 1 + client/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index f870490..ca404bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2793,6 +2793,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustls", + "rustls-native-certs", "rustls-pemfile", "serde", "serde_json", diff --git a/client/Cargo.toml b/client/Cargo.toml index 3a80b9b..62ede81 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -24,7 +24,7 @@ humantime = "2.1.0" indicatif = "0.17.2" lazy_static = "1.4.0" regex = "1.7.0" -reqwest = { version = "0.11.13", default-features = false, features = ["json", "rustls-tls", "stream"] } +reqwest = { version = "0.11.13", default-features = false, features = ["json", "rustls-tls", "rustls-tls-native-roots", "stream"] } serde = { version = "1.0.151", features = ["derive"] } serde_json = "1.0.91" toml = "0.5.10"