scripts/expand-cert

8 lines
337 B
Text
Raw Normal View History

2021-09-12 14:33:19 +00:00
#!/usr/bin/bash
# Expand the certificate
2021-11-25 00:08:08 +00:00
echo exozy.me {chat,ci,cloud,desk,game,git,hub,media,office,portal,server,social,ta180m,tube,www}.exozy.me | sed "s/ /,/g" | xargs sudo certbot certonly --cert-name exozy.me --nginx -n -d
2021-09-12 14:33:19 +00:00
# Give the LDAP user permission to access them
sudo setfacl -R -m user:ldap:r-x /etc/letsencrypt/archive/