From 688beb51552abf371335ff58563dd58dacffcecf Mon Sep 17 00:00:00 2001 From: openoms Date: Wed, 11 Sep 2019 00:03:50 +0100 Subject: [PATCH] fix certbot installation --- electrs/3_Nginx_and_Certbot_for_SSL.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/electrs/3_Nginx_and_Certbot_for_SSL.sh b/electrs/3_Nginx_and_Certbot_for_SSL.sh index 741f433..4071b9b 100644 --- a/electrs/3_Nginx_and_Certbot_for_SSL.sh +++ b/electrs/3_Nginx_and_Certbot_for_SSL.sh @@ -35,9 +35,13 @@ echo "Use the default settings in the other options" echo "***" echo "" -wget https://dl.eff.org/certbot-auto -chmod +x certbot-auto -sudo ./certbot-auto --nginx +#wget https://dl.eff.org/certbot-auto +#chmod +x certbot-auto +#sudo ./certbot-auto --nginx + +sudo apt install -y certbot +# get SSL cert +sudo certbot certonly --authenticator standalone -d $YOUR_DOMAIN --pre-hook "service nginx stop" --post-hook "service nginx start" # Your certificate and chain have been saved at: # /etc/letsencrypt/live/$YOUR_DOMAIN/fullchain.pem