FG

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

Fresh3 days ago
Mar 15, 202630656 views
Confidence Score0%
0%

Problem

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. However the private key I have generated is not for my account and I don't have any slot available to u…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

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

Low Risk

Bare keys do not have "key IDs". They're just series of numbers. If the key belongs to an X.509 certificate, then the certificate's fingerprint (a SHA-1 hash of the DER-encoded cert) will be used for identification: , or . Otherwise (if it's just a …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment