If you want to have a free SSL certificate from LetsEncrypt for you custom domain, the setup and renewal can be a hassle. This little script makes the process super easy.
You should probably quickly read through the python script to convince yourself that it's secure.
In your Python AppEngine Project execute the following command:
git submodule add https://github.com/AirConsole/letsencrypt
Then add the following to your app.yaml
:
handlers:
- url: /\.well\-known\/acme\-challenge\/.*
script: letsencrypt.app
Upload your app to Google AppEngine.
- Go to
http://www.yourdomain.com/.well-known/acme-challenge/
and login as an administrator - Execute the displayed command in a shell that supports curl and openssl (Google Cloud Shell can be used)
- Upload the obtained certificates on https://console.cloud.google.com/appengine/settings/certificates