google-app-enginessl

App Engine: The private key you've selected does not appear to be valid


I'm trying to add a new SSL certificate to my Google App Engine account, but after following all the steps in the manual I kept getting this error uploading the Unencrypted PEM encoded RSA private key:

The private key you've selected does not appear to be valid.

Anyone have experienced this issue?


Solution

  • I had the same problem last week. Google's instructions are lacking...

    Your PEM file has this line:

    -----BEGIN RSA PRIVATE KEY-----
    

    Delete everything above this line and it will work.