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