Last active
July 8, 2020 21:36
-
-
Save nimajneben/6cfdef081824b9f85894c7de53155e6a to your computer and use it in GitHub Desktop.
icecast compliant certificate from letsencrypt
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
#!/usr/bin/bash | |
ICECAST_CERT=/usr/share/icecsast2/icecast.pem | |
cat $RENEWED_LINEAGE/fullchain.pem $RENEWED_LINEAGE/privkey.pem > $ICECAST_CERT | |
#We'll make the certificate owned by root and add an ACL for the icecast user. | |
chown root:root $ICECAST_CERT | |
chmod 600 $ICECAST_CERT | |
setfacl -m u:icecast2:r $ICECAST_CERT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment