We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5ea61 commit 23ed5b0Copy full SHA for 23ed5b0
CLI_icecast_cert_from_certbot.sh
@@ -4,12 +4,13 @@ GREEN='\033[0;32m'
4
YELLOW='\033[1;33m'
5
NC='\033[0m' # No Color
6
7
-OUTPUT=/folder/icecast.pem
+DOMAIN=mydomain.com
8
+OUTPUT=icecast.pem
9
-echo -e "${YELLOW}Getting Cert and PrivKey from certbot${NC}"
10
+echo -e "${YELLOW}Getting Cert and PrivKey from ${DOMAIN}${NC}"
11
echo ""
12
-CERT=/etc/letsencrypt/live/<domain>/cert.pem
13
+CERT=/etc/letsencrypt/live/$DOMAIN/cert.pem
14
if test -f "$CERT";
15
then
16
echo -e "${GREEN}$CERT exist !${NC}"
@@ -19,7 +20,7 @@ else
19
20
exit
21
fi
22
-PRIVKEY=/etc/letsencrypt/live/<domain>/privkey.pem
23
+PRIVKEY=/etc/letsencrypt/live/$DOMAIN/privkey.pem
24
if test -f "$PRIVKEY";
25
26
echo -e "${GREEN}$PRIVKEY exist !${NC}"
0 commit comments