We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f257129 commit 25377c3Copy full SHA for 25377c3
src/connector.rs
@@ -26,7 +26,7 @@ impl HttpsConnector {
26
let mut http = HttpConnector::new(threads, handle);
27
http.enforce_http(false);
28
let mut config = ClientConfig::new();
29
- config.root_store.add_trust_anchors(&webpki_roots::ROOTS);
+ config.root_store.add_server_trust_anchors(&webpki_roots::TLS_SERVER_ROOTS);
30
config.ct_logs = Some(&ct_logs::LOGS);
31
HttpsConnector { http: http, tls_config: Arc::new(config) }
32
}
0 commit comments