I frequently need to do this to verify when a cert expires or who issued it. You can get all the information associated with a cert by typing:
openssl x509 -text -in cert.pem