dotfiles/.bashrc.d/openssl

2 lines
158 B
Plaintext
Raw Normal View History

function cert-deets() { openssl s_client -connect "$1" 2>/dev/null <<< Q | openssl x509 -noout -subject -ext subjectAltName -dates; } && export -f cert-deets