gcloud beta app ssl-certificates create --certificate=C:/.../public.pem --display-name=mycert --private-key=C:/.../private.pem ERROR: (gcloud.beta.app.ssl-certificates.create) Error Response: [400] Invalid certificate. `CertificateRawData` must contain a PEM encoded x.509 public key certificate, with header and footer included, and an unencrypted PEM encoded RSA private key, with header and footer included and with size at most 2048 bits. The requested private key and public certificate must match. https://appengine.googleapis.com/v1beta/apps/appname-123456/authorizedCertificates?alt=json
Still does not say the exact error. That makes it really hard for me to find the error because I do things as the instructions say and I have also tried a lot of combinations. The last I tried with the above method had the Common name=www.mydomain.xyz which covers both www.mydomain.xyz and mydomain.xyz right? The header and footers are the ----- BEGIN... ------ and ----- END ... ----- right? There should not be anything before or after that (unless it is another certificate)? On Friday, June 2, 2017 at 5:52:44 PM UTC+2, pdknsk wrote: > > Or you could try gcloud, which also uses the API. > > https://cloud.google.com/sdk/gcloud/reference/beta/app/ssl-certificates/ > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f9e4d101-94f9-4e50-ba37-e204901a86e7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
