I am running a small company and unfortunately my IT support just quit. I am running a site on GAE. My SSL expired and I ordered a new one, receiving the following files:
- 3 .cer files in an SHA-1 folder
- 3 .der files in an SHA-2 folder
- a csr.txt file
- a privatekey.txt file
I need to upload to Google App Engine which is asking for:
- a PEM encoded X509 certificate
- an unencrypted PEM encoded RSA private key
I am working on Mac OS. I tried using openssl and seem to have generated a private.pem file from the privatekey.txt source, but when I run an openSSL command on the csr.txt file I get:
$ openssl x509 -in csr.txt -out public.pem
unable to load certificate
23137:error:0906D06C:PEM routines:PEM_read_bio:no start line:/SourceCache/OpenSSL098/
OpenSSL098-52.8.1/src/crypto/pem/pem_lib.c:648:Expecting: TRUSTED CERTIFICATE
The csr.txt file starts with -----BEGIN CERTIFICATE----- and ends with -----END CERTIFICATE----- with nothing else than the key in between.