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