From 9932d6b520b6e3d9dfd25b3f61d3bdc9fe78f3c4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 1 Apr 2020 09:32:46 +0200 Subject: httpstest/httpscert: Add parameter for port Signed-off-by: Florian Pritz --- httpscert | 2 +- httpstest | 2 +- 2 files changed, 2 insertions(+), 2 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 diff --git a/httpstest b/httpstest index e4fb0da..93dc9e0 100755 --- a/httpstest +++ b/httpstest @@ -2,4 +2,4 @@ # usage: httpstest -openssl s_client -servername $1 -connect $1:443