diff options
Diffstat (limited to 'bin/hostcert')
-rwxr-xr-x | bin/hostcert | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/hostcert b/bin/hostcert deleted file mode 100755 index 545167a..0000000 --- a/bin/hostcert +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -eu -set -o pipefail - -host="$1" -port="${2:-443}" - -openssl s_client -connect "$host:$port" < /dev/null 2>/dev/null | perl -nle 'print if /BEGIN CERTIFICATE/../END CERTIFICATE/' | openssl x509 -text | perl -nle 'print unless /BEGIN CERTIFICATE/../END CERTIFICATE/' |