diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-10 16:00:59 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-10 16:00:59 -0400 |
commit | 5120b108ca2dcd78db519226516e071aca7b81d0 (patch) | |
tree | bd2d471d4e16b757b0dac2a7fc470b5caacfb5eb /bin/hostcert | |
parent | 7946924e237e059bb1b8ca311824042f69396e66 (diff) | |
download | conf-5120b108ca2dcd78db519226516e071aca7b81d0.tar.gz conf-5120b108ca2dcd78db519226516e071aca7b81d0.zip |
shfmt everything
Diffstat (limited to 'bin/hostcert')
-rwxr-xr-x | bin/hostcert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hostcert b/bin/hostcert index 545167a..61f519d 100755 --- a/bin/hostcert +++ b/bin/hostcert @@ -5,4 +5,4 @@ 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/' +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/' |