1
vote
2answers
2k views

How to get the key ID from a .pem openssl file?

I have a .pem private key generated by openssl. How to extract the key ID from it? Edit: the generated rsa keypair is for Amazon cloudfront. When uploaded on the console, a 'Key ID' is displayed. ...