You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 hours ago | |
|---|---|---|
| .gitignore | 5 hours ago | |
| LICENSE | 5 hours ago | |
| Makefile | 5 hours ago | |
| README.md | 5 hours ago | |
| go.mod | 5 hours ago | |
| main.go | 5 hours ago | |
README.md
cert-bouncer
It watches ACME certs, detects new files, syncs them to your other servers, and bounces them. That's it. You really only need this with servers like Caddy that can't run their own "hey I changed" script, but it is also probably easier than that.
Key features:
- It watches the cert files.
- It copies them to a target, even renaming them.
- It changes the permissions, since a cert for Caddy would be owned by
caddybut a cert for ErgoIRC should be owned byergo. - It runs the reload command for the servers.
- Should work with multiple servers.
That's about it. Simple little server that does what I need.