It watches ACME certs, detects new files, syncs them to your other servers, and bounces them.
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 d7cfa638a7 Does the copy now. 1 hour ago
test Does the copy now. 1 hour ago
.gitignore First basic config and watching one of the files. 4 hours ago
LICENSE Readme, LICENSE and ignore done. 5 hours ago
Makefile More basic setup stuff. 5 hours ago
README.md Readme, LICENSE and ignore done. 5 hours ago
example-config.json First basic config and watching one of the files. 4 hours ago
go.mod First basic config and watching one of the files. 4 hours ago
go.sum First basic config and watching one of the files. 4 hours ago
main.go Does the copy now. 1 hour 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.