2021-09-12 14:33:19 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
# Renew the certificate
|
2021-09-12 14:41:39 +00:00
|
|
|
sudo certbot -q renew
|
2021-09-12 14:33:19 +00:00
|
|
|
|
|
|
|
# Give the LDAP user permission to access them
|
2021-09-12 14:41:39 +00:00
|
|
|
sudo setfacl -R -m user:ldap:r-x /etc/letsencrypt/archive/
|