set certbot to certonly and fixed TLSv1.3
This commit is contained in:
@@ -538,9 +538,9 @@ if [ $sslenable = 1 ]; then
|
||||
msg " Setting up SSL" 8 78
|
||||
site_ext=ssl
|
||||
if [ $domainwww = 1 ]; then
|
||||
certbot --"$webserv" -n -d "$domain" -d "www.$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos
|
||||
certbot --"$webserv" certonly -n -d "$domain" -d "www.$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos
|
||||
elif [ $domainwww = 0 ]; then
|
||||
certbot --"$webserv" -n -d "$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos
|
||||
certbot --"$webserv" certonly -n -d "$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos
|
||||
fi
|
||||
certbot --"$webserv" -n -d "$hostname" -m "$email" --hsts --redirect --no-eff-email --agree-tos
|
||||
if curl --retry 2 --retry-delay 1 --output /dev/null --silent --head --fail "$repo"/raw/branch/"$branch"/CoreModules/"$webserv"/ssl-handler.sh; then
|
||||
@@ -577,7 +577,7 @@ fi
|
||||
# Services #
|
||||
##------------##
|
||||
|
||||
systemctl reload sshd fail2ban postfix postfix@-
|
||||
systemctl reload sshd fail2ban postfix postfix@-
|
||||
|
||||
|
||||
##-------##
|
||||
|
||||
Reference in New Issue
Block a user