I created a new Windows instance on AWS EC2, using a keypair I created by uploading my public key from my local machine.
The instance launched fine, but it won't decrypt the password. It reports:

I'm certain I uploaded the correct key. I've verified that the fingerprints match with the weird fingerprint format AWS uses. But it just won't decrypt.
I've tried uploading the key file, and pasting it into the form.
I eventually figured out that it isn't stripping the trailing newline, and deleted the blank line in the key. That just gets me to a new error when I click "Decrypt Password", though:

aws ec2 get-password-data "--instance-id=${instance_id}" | jq -r .PasswordData | base64 -D | openssl rsautl -decrypt -inkey ${my_key}(uses aws-cli and jq).
– Ben Butler-Cole Mar 07 '16 at 09:33-dso-Dworks for me. im on OS X – Saad Masood Sep 15 '16 at 12:41aws ec2 get-password-data "--instance-id=${instance_id}" | jq -r .PasswordData | base64 -D | openssl rsautl -decrypt -inkey ${my_key} | pbcopy...which sends the password straight to your clipboard.
– Mark Maglana Dec 22 '16 at 01:59BEGIN RSA PRIVATE KEYif it saysBEGIN OPENSSH PRIVATE KEYyou probably need to convert it to PEM format first. – dragon788 Sep 16 '20 at 16:43