Read SSL certificate in X.509 format and print info:

$ openssl x509 -text -noout -in cert.crt