I have a .key file which is PEM formatted private key file. I didn\'t make this file but I got this from somewhere.
I wanted to see its MD5 hash with openssl tool li
I changed the header and footer of the PEM file to
-----BEGIN RSA PRIVATE KEY-----
and
-----END RSA PRIVATE KEY-----
Finally, it works!