Fix up getcert, make openssl act sanely
Jes Olson jolson@digitalocean.com
Mon, 20 Sep 2021 11:41:14 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bin/getcert
→
bin/getcert
@@ -4,4 +4,4 @@ # display certs from an https url
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