summaryrefslogtreecommitdiffstats
path: root/httpscert
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-12-06 10:40:21 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-12-06 10:40:21 +0100
commit151b606189542704f787cfd550651fbb5bbb628e (patch)
tree01eb9e1d94c503257d0718b0359a0fbfed0ec727 /httpscert
parent8d8c5681e39d60ab9c826fc766a5ef0d9ab03916 (diff)
downloadbin-151b606189542704f787cfd550651fbb5bbb628e.tar.gz
bin-151b606189542704f787cfd550651fbb5bbb628e.tar.xz
Add scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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