Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/outline/acm
Automatic wildcard certificate management for Cloudflare and Heroku
https://github.com/outline/acm
certificates heroku letsencrypt ssl
Last synced: about 2 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-13T22:35:25.000Z (over 1 year ago)
- Last Synced: 2024-05-01T11:34:25.991Z (8 months ago)
- Topics: certificates, heroku, letsencrypt, ssl
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 51
- Watchers: 4
- Forks: 19
- 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:
![image](https://user-images.githubusercontent.com/380914/106781088-848e9480-65fd-11eb-857e-4825707f28c5.png)
Ensure all environment variables in cert.sh are set in the environment:
- `DOMAIN`
- `CLOUDFLARE_EMAIL`
- `CLOUDFLARE_API_KEY`
- `HEROKU_API_KEY`
- `HEROKU_APP`