package-stuff/maddy/files/etc/maddy/Makefile

18 lines
475 B
Makefile

.PHONY: certs
all:
echo none of this works yet
# ?
tls:
setfacl -R -m u:maddy:rX /etc/ssl/mx1.example.org.crt /etc/ssl/mx1.example.org.key
setfacl -R -m u:maddy:rX /etc/letsencrypt/{live,archive}
# git clone https://github.com/acmesh-official/acme.sh.git
certs:
mkdir -p certs/mx1.example.org
./acme.sh/acme.sh --force --install-cert -d mx1.example.org \
--key-file certs/mx1.example.org/privkey.pem \
--fullchain-file certs/mx1.example.org/fullchain.pem