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

前端 未结 3 2012
失恋的感觉
失恋的感觉 2021-02-05 15:32

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

相关标签:
3条回答
  • 2021-02-05 16:12

    Ok, SSL configuration continues to be like trying to bathe a black cat in a dark room. Here's the answer that worked for me: Trouble with Google Apps Custom Domain SSL

    0 讨论(0)
  • 2021-02-05 16:13

    Google requires an RSA formatted private key, which should have the following header (note the word RSA):

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

    If your key has just: ---BEGIN PRIVATE KEY--- (no RSA), then you will need to convert it. You can use OpenSSL for that:

    openssl rsa -in server.key -out server_rsa.key
    
    0 讨论(0)
  • 2021-02-05 16:24

    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.

    0 讨论(0)
提交回复
热议问题