This commit is contained in:
Lev Kokotov
2023-04-28 18:05:28 -07:00
parent b36746a47b
commit 0d882cc204
2 changed files with 7 additions and 0 deletions

View File

@@ -194,6 +194,8 @@ impl Server {
match response {
// Server supports TLS
'S' => {
debug!("Connecting to server using TLS");
let mut root_store = RootCertStore::empty();
root_store.add_server_trust_anchors(
webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {