diff --git a/src/config.rs b/src/config.rs index 061a758..4af7bed 100644 --- a/src/config.rs +++ b/src/config.rs @@ -861,6 +861,11 @@ impl Config { info!("TLS support is disabled"); } }; + info!("Server TLS enabled: {}", self.general.server_tls); + info!( + "Server TLS certificate verification: {}", + self.general.verify_server_certificate + ); for (pool_name, pool_config) in &self.pools { // TODO: Make this output prettier (maybe a table?) diff --git a/src/server.rs b/src/server.rs index a04dc5f..be74acc 100644 --- a/src/server.rs +++ b/src/server.rs @@ -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| {