Add a Bash function to show certificate details
This commit is contained in:
parent
5919684691
commit
523102a860
1
.bashrc.d/openssl
Normal file
1
.bashrc.d/openssl
Normal file
|
@ -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
|
Loading…
Reference in a new issue