App Engine: The private key you've selected do

2020-05-26 14:12发布

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?

3条回答
神经病院院长
2楼-- · 2020-05-26 14:25

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
查看更多
贪生不怕死
3楼-- · 2020-05-26 14:31

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.

查看更多
我只想做你的唯一
4楼-- · 2020-05-26 14:39

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

查看更多
登录 后发表回答