Add getcert for troubleshooty purposes
Jes Olson jolson@digitalocean.com
Mon, 20 Sep 2021 11:36:58 -0500
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