Skip to content

Commit f8ec55c

Browse files
author
Zachary Priddy
committed
fix for certbot
1 parent 0cbd705 commit f8ec55c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

install_firefly.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ if ask "Would you like to use a dynamic dns domain?"; then
138138
if ask "\n\nWould you like to install and setup LetsEncrypt? This requires a dynamic dns domain to have been setup."; then
139139
echo -e "\n\nInstalling LetsEncrypt and getting first certificate.\n\n"
140140

141-
sudo apt-get -y install certbot
141+
#sudo apt-get -y install certbot
142+
cd $FIREFLYROOT
143+
wget https://dl.eff.org/certbot-auto
144+
chmod a+x certbot-auto
142145
cd /var
143146
sudo mkdir www
144147
cd www
@@ -152,7 +155,8 @@ if ask "Would you like to use a dynamic dns domain?"; then
152155

153156
echo -e -n "\n\nPlsease enter you email. [ENTER]:"
154157
read EMAIL
155-
certbot certonly --standalone --standalone-supported-challenges tls-sni-01 --agree-tos --email $EMAIL -d $DOMAIN
158+
cd $FIREFLYROOT
159+
sudo ./certbot-auto certonly --standalone --standalone-supported-challenges tls-sni-01 --agree-tos --email $EMAIL -d $DOMAIN
156160

157161
echo -e "\n\nFinished installing first cert\n\n"
158162
fi

0 commit comments

Comments
 (0)