zsh/zsh.d/zshfunctions/x509

6 lines
100 B
Plaintext

if [ -r "$1" ]; then
openssl x509 -in $1 -noout -text | less
else
echo "x509 <certfile>"
fi