summaryrefslogtreecommitdiffstats
path: root/httpscert
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-04-01 09:32:46 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-04-01 09:32:46 +0200
commit9932d6b520b6e3d9dfd25b3f61d3bdc9fe78f3c4 (patch)
tree65c58c3f87bb92dc812f7ddb4e42b74bb3fc3bd9 /httpscert
parentd6111c5f6209326cc30a49b4d96278e862262e62 (diff)
downloadbin-9932d6b520b6e3d9dfd25b3f61d3bdc9fe78f3c4.tar.gz
bin-9932d6b520b6e3d9dfd25b3f61d3bdc9fe78f3c4.tar.xz
httpstest/httpscert: Add parameter for port
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'httpscert')
-rwxr-xr-xhttpscert2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpscert b/httpscert
index c2834c0..e5d44b1 100755
--- a/httpscert
+++ b/httpscert
@@ -1,3 +1,3 @@
#!/bin/bash
-httpstest $1 | sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -text
+httpstest "$@"| sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -text