Friday, October 21, 2016

Let'sEntry and SSLforFree.com SSL Certificate for the webapp hosted on Google APP Engine

Generate SSL Certificate for a website, that is running on Google App Engine and configure it.

1. Go to sslforfree.com --> Enter you domain. For example: corporatematching.org

2.  Press Create Free SSL Certificate

3. Press Manual Verification button in the next page as shown below:

4. Press Manually Verify Domain button.


5.  After reading and implementing all the instructions, Press Download SSL Certificate.

6. Press Download All Certificate Files button in the next webpage as following:

7. After downloading the Certificate file, locate the zip file: sslforfree.zip and extract them.

8. Convert certificate.crt to X.509 public key certificate using following command:

      openssl x509 -inform PEM -in certificate.crt > public.pem

9. Convert private.key to RSA key:
      openssl rsa -in ./private.key -text > private.pem

10. Go to https://console.cloud.google.com/appengine/settings/certificates for you Google App Engine Project.

11. Navigate to SSL Certificate tab and press Upload a new certificate button as shown below:

12. Finally, place the file generated/converted in step#8 and step#9 in the first text area and second text area  as shown below:





13. You may sometimes see the error: The private key you've selected does not appear to be valid. Make sure to
delete everything above the line: -----BEGIN RSA PRIVATE KEY----- and it will work.

Good Luck!