I\'m trying to figure out how to use let\'s encrypt with my rails app on heroku.
I\'ve tried several gems which appear to have been designed to help with this process (l
I've recently implemented ssl on heroku (python)
using one of the links that you've posted. Let me make sense of the process.
Firstly
[name-of-app].herokuapp.com
example.com
replaced with --your-domain--name.com
I'll be happy to explain more once you have done the above process
Now that you have a site which you can access at myexample.com
which is hosted on heroku
.well-known/acme-challenge
on your rails app. Once you open it and redeploy your rails app you should be able to go to the URL http://myexample.com/.well-known/acme-challenge
For now this will display a blank page with no content.ya6k1edW38z.ebThgg67ggbb...
Now here is the critical part. This is how let's encrypt verifies that you are the actual owner of the domain for which you are generating ssl certificates. It gives you a really random and complex text and asks you to display on a particular route .well-known/acme-challenge
on the domain your-domain.com
To accomplish this
.well-known/acme-challenge
route. Refer to above link for example codehttp://myexample.com/.well-known/acme-challenge
. This should display the text you got during manual creation in the above step.Now proceed with the creation process on certbot
. This should create the certificates for your domain. Once you got the certificates add them to heroku ssl settings following this link