Print Information about a Certificate

openssl x509 -in testkey.crt -noout -text

Informations about the used arguments from the OpenSSL man page:

You should redirect the output into a file (with “> testkey_info.txt”) or into some pager (like “| less”) as this outputs a lot of information.