From 58511930f10761c618f59920e113323afac78edc Mon Sep 17 00:00:00 2001 From: openoms Date: Wed, 11 Sep 2019 00:06:09 +0100 Subject: [PATCH] fix certbot installation --- nginx/bonus.SSL_for_RTL.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nginx/bonus.SSL_for_RTL.sh b/nginx/bonus.SSL_for_RTL.sh index 91ad415..7c70562 100644 --- a/nginx/bonus.SSL_for_RTL.sh +++ b/nginx/bonus.SSL_for_RTL.sh @@ -34,9 +34,12 @@ echo " give a 4-11 character password and press [ENTER] to save default 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