We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c1de38 commit 03650ddCopy full SHA for 03650dd
1 file changed
src/lib.rs
@@ -1542,6 +1542,22 @@ impl Ssl {
1542
// Otherwise, try to load the default cert file or cert dir.
1543
let mut verify_roots = OwnedX509Store::default();
1544
1545
+ println!(
1546
+ "verify_certs file={:?} dirs={:?}",
1547
+ ctx.default_cert_file, ctx.default_cert_dir
1548
+ );
1549
1550
+ "verify_certs file_exists={:?}",
1551
+ ctx.default_cert_file.as_ref().map(|p| p.exists())
1552
1553
1554
+ "verify_certs dirs_exists={:?}",
1555
+ ctx.default_cert_dir
1556
+ .iter()
1557
+ .map(|p| p.exists())
1558
+ .collect::<Vec<_>>()
1559
1560
+
1561
if let Some(default_cert_file) = &ctx.default_cert_file {
1562
verify_roots.add_from_files([default_cert_file.to_path_buf()])?;
1563
}
0 commit comments