summaryrefslogtreecommitdiffstats
path: root/httpscert
diff options
context:
space:
mode:
Diffstat (limited to 'httpscert')
-rwxr-xr-xhttpscert3
1 files changed, 3 insertions, 0 deletions
diff --git a/httpscert b/httpscert
new file mode 100755
index 0000000..c2834c0
--- /dev/null
+++ b/httpscert
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+httpstest $1 | sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -text