Skip to content

Instantly share code, notes, and snippets.

@Raffo
Created February 16, 2016 20:57
Show Gist options
  • Save Raffo/6774c6b5c02f4e0f5900 to your computer and use it in GitHub Desktop.
Save Raffo/6774c6b5c02f4e0f5900 to your computer and use it in GitHub Desktop.
Aws tips and tricls

For AWS generated keys

C:\> openssl pkcs8 -in path_to_private_key -inform PEM -outform DER -topk8 -nocrypt | openssl sha1 -c

For manually generated and imported keys

C:\> openssl rsa -in path_to_private_key -pubout -outform DER | openssl md5 -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment