|
@@ -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
|