We have a site, hosted on Heroku, that lets our customers use their own domain name. The problem is that we want to provide SSL for them automatically. Currently we let them upload certs, but it's messy. We want to switch to LetsEncrypt.
NOTE: This can be done! We already do it by letting users upload their own certs.
WHAT WE NEED:
We need a simple Node/Express app that can set up SSL certs, using Lets Encrypt, for a supplied domain that will work on Heroku. It should give them somewhere to CNAME the domain to, set up LetsEncrypt, and renew automatically every 3 months.
It should be written as a standalone microservice. You may be able to use this: https://github.com/dmathieu/sabayon
Step 1: https://cl.ly/0M1l211R0J2l
Step 2: https://cl.ly/2K3Z2j3L0i0w
Step 3: https://cl.ly/2G460V0F1d2k
Must use Heroku (They have a new free SSL product: https://blog.heroku.com/announcing_heroku_free_ssl_beta_and_flexible_dyno_hours)
Must use Node (potentially using https://github.com/Daplie/node-letsencrypt)
Normally, Heroku will give you a URL similar to tomica234.herokussl.com to CNAME to. We want to make it so that each user gets a theirname.examplessl.com URL to CNAME to instead.
Hopefully this is not too confusing!