diff --git a/.bashrc.d/openssl b/.bashrc.d/openssl index 11fd524..e2ea4bd 100644 --- a/.bashrc.d/openssl +++ b/.bashrc.d/openssl @@ -1 +1 @@ -function cert-deets() { openssl s_client -connect "$1" 2>/dev/null <<< Q | openssl x509 -noout -subject -ext subjectAltName -dates; } && export -f cert-deets +function cert-deets() { openssl s_client -connect "$1" -port 443 2>/dev/null <<< Q | openssl x509 -noout -subject -ext subjectAltName -dates; } && export -f cert-deets