Pārlūkot izejas kodu

* generarCertLetsEncrypt(): aceptar TOS y email

Guzmán Castanedo Villalba 5 gadi atpakaļ
vecāks
revīzija
ad6dce306d
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      install

+ 4 - 4
install

@@ -1298,10 +1298,10 @@ generarCertLetsEncrypt() {
 			else
 				dominios=$dominioMediaWiki
 			fi
-			certbot -n --apache --domains "$dominios" >> $logFile 2>&1
+			certbot -n --agree-tos --email "admin@$hostname" --apache --domains "$dominios" >> $logFile 2>&1
 			comprobarError $? 404
 		elif [ $moodleOn = true ];then
-			certbot -n --apache --domains "$dominioMoodle" >> $logfile 2>&1
+			certbot -n --agree-tos --email "admin@$hostname" --apache --domains "$dominioMoodle" >> $logfile 2>&1
 			comprobarError $? 404
 		else
 			return 1
@@ -1314,10 +1314,10 @@ generarCertLetsEncrypt() {
 			else
 				dominios=$dominioMediaWiki
 			fi
-			certbot -n --nginx --domains "$dominios" >> $logFile 2>&1
+			certbot -n --agree-tos --email "admin@$hostname" --nginx --domains "$dominios" >> $logFile 2>&1
 			comprobarError $? 404
 		elif [ $moodleOn = true ];then
-			certbot -n --nginx --domains "$dominioMoodle" >> $logfile 2>&1
+			certbot -n --agree-tos --email "admin@$hostname" --nginx --domains "$dominioMoodle" >> $logfile 2>&1
 			comprobarError $? 404
 		else
 			return 1