Print Information about a Key

openssl x509 -inform DER -in testkey.cer -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.