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