aboutsummaryrefslogtreecommitdiff
path: root/src/x509-info/Cargo.toml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-28 18:48:21 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-28 18:48:21 -0700
commit51640af5aa964b8eafa28e06e49528588b937a36 (patch)
tree9246a48ee3ce60968c02f0923ab4c9fc6705af09 /src/x509-info/Cargo.toml
parentdoc: update README (diff)
downloadx-51640af5aa964b8eafa28e06e49528588b937a36.tar.gz
add a flag to check expired certificate
Add the `--insecure` flag so we can check certificates that are expired. When using the short format for the output (the default), if the certificate has expired, it will report how many days ago. For certificates that have not expired, the remaining number of days will be printed.
Diffstat (limited to 'src/x509-info/Cargo.toml')
-rw-r--r--src/x509-info/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509-info/Cargo.toml b/src/x509-info/Cargo.toml
index 4120200..f6b4e3e 100644
--- a/src/x509-info/Cargo.toml
+++ b/src/x509-info/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
chrono = {version = "0.4.20", features = ["clock"], default-features = false }
clap = {version = "4.0.18", features = ["derive", "cargo"]}
-rustls = "0.20.7"
+rustls = {version = "0.20.7", features = ["dangerous_configuration"]}
rustls-native-certs = "0.6.2"
webpki-roots = "0.22.5"
x509-parser = "0.14"