-
-
Save derhuerst/15da25479a0b154d5ae4bdd1b24287b8 to your computer and use it in GitHub Desktop.
make Certbot/Let's Encrypt certificates available to other tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -o pipefail | |
# install & configure Certbot… | |
# make /etc/letsencrypt accessible to ssl-cert group | |
chgrp -R ssl-cert /etc/letsencrypt | |
find /etc/letsencrypt -exec chmod g+r "{}" \; | |
find /etc/letsencrypt -type d -exec chmod g+x "{}" \; | |
# allow CoreDNS user to read /etc/letsencrypt | |
usermod -G ssl-cert coredns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment