aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/cheat/ssl
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/cheat/ssl')
-rw-r--r--dotfiles/cheat/ssl3
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/cheat/ssl b/dotfiles/cheat/ssl
new file mode 100644
index 0000000..f89777e
--- /dev/null
+++ b/dotfiles/cheat/ssl
@@ -0,0 +1,3 @@
+echo | openssl s_client -servername NAME -connect HOST:PORT 2>/dev/null | openssl x509 -noout -dates
+
+https://www.shellhacks.com/openssl-check-ssl-certificate-expiration-date/