https://github.com/outline/acm
Automatic wildcard certificate management for Cloudflare and Heroku
https://github.com/outline/acm
certificates heroku letsencrypt ssl
Last synced: 10 months ago
JSON representation
Automatic wildcard certificate management for Cloudflare and Heroku
- Host: GitHub
- URL: https://github.com/outline/acm
- Owner: outline
- Created: 2018-10-31T03:41:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-13T22:35:25.000Z (about 3 years ago)
- Last Synced: 2025-03-22T07:33:22.561Z (about 1 year ago)
- Topics: certificates, heroku, letsencrypt, ssl
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 58
- Watchers: 3
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# outline-acm
This script can be run on Heroku using CRON and will automatically create and manage a wildcard SSL certificate issued by LetsEncrypt. If you're running a Heroku application with dynamic subdomains this is a great way to get a free SSL cert. Found this useful? Considering [sponsoring our open source](https://github.com/sponsors/outline).
## Deployment
Deploy to Heroku and set up the schedule to look like this:

Ensure all environment variables in cert.sh are set in the environment:
- `DOMAIN`
- `CLOUDFLARE_EMAIL`
- `CLOUDFLARE_API_KEY`
- `HEROKU_API_KEY`
- `HEROKU_APP`