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

前端 未结 3 2023
失恋的感觉
失恋的感觉 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: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
    

提交回复
热议问题