small pixel drawing of a pufferfish dotfiles

Add getcert for troubleshooty purposes
Jes Olson jolson@digitalocean.com
Mon, 20 Sep 2021 11:36:58 -0500
commit

65419ae8c264c0ea0aca54fb2ae94dc6f94647b7

parent

502a6ccaba8c745b387f493aa394d24961306cf6

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

jump to
A bin/getcert

@@ -0,0 +1,7 @@

+#!/bin/sh +# +# 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