A project you can clone to get started with Go.
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.
 
 
Zed A. Shaw f49d922c6d Initialize with the common gear I use. 6 hours ago
.gitignore Initialize with the common gear I use. 6 hours ago
LICENSE Initialize with the common gear I use. 6 hours ago
Makefile Initialize with the common gear I use. 6 hours ago
README.md Initialize with the common gear I use. 6 hours ago
go.mod Initialize with the common gear I use. 6 hours ago
main.go Initialize with the common gear I use. 6 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:

  1. It watches the cert files.
  2. It copies them to a target, even renaming them.
  3. It changes the permissions, since a cert for Caddy would be owned by caddy but a cert for ErgoIRC should be owned by ergo.
  4. It runs the reload command for the servers.
  5. Should work with multiple servers.

That's about it. Simple little server that does what I need.