diff --git a/bin/getcert b/bin/getcert index 0b4baa9..ead5a2e 100755 --- a/bin/getcert +++ b/bin/getcert @@ -4,4 +4,4 @@ url="$1" parsed_url=$(printf "%s" "$url" | sed 's|https://||g') -openssl s_client -connect "$parsed_url" 443 | openssl x509 -noout -text +printf '\n' | openssl s_client -connect "$parsed_url":443 -showcerts | openssl x509 -noout -text