982c5a1f0e
- Use an acme user and group, allow group override only - Use hashes to determine when certs actually need to regenerate - Avoid running lego more than necessary - Harden permissions - Support "systemctl clean" for cert regeneration - Support reuse of keys between some configuration changes - Permissions fix services solves for previously root owned certs - Add a note about multiple account creation and emails - Migrate extraDomains to a list - Deprecate user option - Use minica for self-signed certs - Rewrite all tests I thought of a few more cases where things may go wrong, and added tests to cover them. In particular, the web server reload services were depending on the target - which stays alive, meaning that the renewal timer wouldn't be triggering a reload and old certs would stay on the web servers. I encountered some problems ensuring that the reload took place without accidently triggering it as part of the test. The sync commands I added ended up being essential and I'm not sure why, it seems like either node.succeed ends too early or there's an oddity of the vm's filesystem I'm not aware of. - Fix duplicate systemd rules on reload services Since useACMEHost is not unique to every vhost, if one cert was reused many times it would create duplicate entries in ${server}-config-reload.service for wants, before and ConditionPathExists |
||
---|---|---|
.. | ||
firefox | ||
hylafax | ||
ircd-hybrid | ||
keepalived | ||
nghttpx | ||
ntp | ||
ssh | ||
strongswan-swanctl | ||
znc | ||
3proxy.nix | ||
amuled.nix | ||
aria2.nix | ||
asterisk.nix | ||
atftpd.nix | ||
autossh.nix | ||
avahi-daemon.nix | ||
babeld.nix | ||
bind.nix | ||
bird.nix | ||
bitcoind.nix | ||
bitlbee.nix | ||
blockbook-frontend.nix | ||
charybdis.nix | ||
cjdns.nix | ||
cntlm.nix | ||
connman.nix | ||
consul.nix | ||
coredns.nix | ||
corerad.nix | ||
coturn.nix | ||
dante.nix | ||
ddclient.nix | ||
dhcpcd.nix | ||
dhcpd.nix | ||
dnscache.nix | ||
dnscrypt-proxy2.nix | ||
dnscrypt-wrapper.nix | ||
dnsdist.nix | ||
dnsmasq.nix | ||
ejabberd.nix | ||
epmd.nix | ||
ergo.nix | ||
eternal-terminal.nix | ||
fakeroute.nix | ||
ferm.nix | ||
fireqos.nix | ||
firewall.nix | ||
flannel.nix | ||
flashpolicyd.nix | ||
freenet.nix | ||
freeradius.nix | ||
gale.nix | ||
gateone.nix | ||
gdomap.nix | ||
git-daemon.nix | ||
gnunet.nix | ||
go-neb.nix | ||
go-shadowsocks2.nix | ||
gogoclient.nix | ||
gvpe.nix | ||
hans.nix | ||
haproxy.nix | ||
helpers.nix | ||
heyefi.nix | ||
hostapd.nix | ||
htpdate.nix | ||
i2p.nix | ||
i2pd.nix | ||
iodine.nix | ||
iperf3.nix | ||
iwd.nix | ||
jicofo.nix | ||
jitsi-videobridge.nix | ||
keybase.nix | ||
kippo.nix | ||
knot.nix | ||
kresd.nix | ||
lambdabot.nix | ||
libreswan.nix | ||
lldpd.nix | ||
logmein-hamachi.nix | ||
magic-wormhole-mailbox-server.nix | ||
mailpile.nix | ||
matterbridge.nix | ||
minidlna.nix | ||
miniupnpd.nix | ||
miredo.nix | ||
mjpg-streamer.nix | ||
monero.nix | ||
morty.nix | ||
mosquitto.nix | ||
mstpd.nix | ||
mtprotoproxy.nix | ||
mullvad-vpn.nix | ||
murmur.nix | ||
mxisd.nix | ||
namecoind.nix | ||
nat.nix | ||
ncdns.nix | ||
ndppd.nix | ||
networkmanager.nix | ||
nextdns.nix | ||
nftables.nix | ||
ngircd.nix | ||
nix-serve.nix | ||
nix-store-gcs-proxy.nix | ||
nixops-dns.nix | ||
nntp-proxy.nix | ||
nsd.nix | ||
ntopng.nix | ||
nullidentdmod.nix | ||
nylon.nix | ||
ocserv.nix | ||
ofono.nix | ||
oidentd.nix | ||
onedrive.nix | ||
onedrive.xml | ||
openfire.nix | ||
openvpn.nix | ||
ostinato.nix | ||
owamp.nix | ||
pdns-recursor.nix | ||
pdnsd.nix | ||
pixiecore.nix | ||
polipo.nix | ||
powerdns.nix | ||
pppd.nix | ||
pptpd.nix | ||
prayer.nix | ||
privoxy.nix | ||
prosody.nix | ||
prosody.xml | ||
quagga.nix | ||
quassel.nix | ||
quicktun.nix | ||
quorum.nix | ||
racoon.nix | ||
radicale.nix | ||
radvd.nix | ||
rdnssd.nix | ||
redsocks.nix | ||
resilio.nix | ||
rpcbind.nix | ||
rxe.nix | ||
sabnzbd.nix | ||
searx.nix | ||
seeks.nix | ||
shadowsocks.nix | ||
shairport-sync.nix | ||
shorewall.nix | ||
shorewall6.nix | ||
shout.nix | ||
skydns.nix | ||
smartdns.nix | ||
smokeping.nix | ||
sniproxy.nix | ||
softether.nix | ||
spacecookie.nix | ||
spiped.nix | ||
squid.nix | ||
sslh.nix | ||
strongswan.nix | ||
stubby.nix | ||
stunnel.nix | ||
supplicant.nix | ||
supybot.nix | ||
syncplay.nix | ||
syncthing-relay.nix | ||
syncthing.nix | ||
tailscale.nix | ||
tcpcrypt.nix | ||
teamspeak3.nix | ||
tedicross.nix | ||
tftpd.nix | ||
thelounge.nix | ||
tinc.nix | ||
tinydns.nix | ||
tox-bootstrapd.nix | ||
tox-node.nix | ||
toxvpn.nix | ||
trickster.nix | ||
tvheadend.nix | ||
unbound.nix | ||
unifi.nix | ||
v2ray.nix | ||
vsftpd.nix | ||
wakeonlan.nix | ||
wasabibackend.nix | ||
websockify.nix | ||
wg-quick.nix | ||
wicd.nix | ||
wireguard.nix | ||
wpa_supplicant.nix | ||
xandikos.nix | ||
xinetd.nix | ||
xl2tpd.nix | ||
xrdp.nix | ||
yggdrasil.nix | ||
yggdrasil.xml | ||
zerobin.nix | ||
zeronet.nix | ||
zerotierone.nix |