small pixel drawing of a pufferfish dotfiles

Fix up getcert, make openssl act sanely
Jes Olson jolson@digitalocean.com
Mon, 20 Sep 2021 11:41:14 -0500
commit

657cf0ec52fa5f73abeb47b5ee5dc76cad1f3ea9

parent

65419ae8c264c0ea0aca54fb2ae94dc6f94647b7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bin/getcertbin/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