Mise à jour de 'certrenew.sh'

This commit is contained in:
Anael G 2020-05-08 17:19:03 +02:00
parent d1fe80fdb2
commit be64b63f3c

View File

@ -2,13 +2,13 @@
# #
# Renouvellement certificat # Renouvellement certificat
echo "Arret du service apache !"
sudo systemctl stop apache2.service sudo systemctl stop apache2.service
echo "OK, lancement du renouvellmenet des certificats"
sudo ./certbot-auto certonly -n -d im.cyberjinh.fr -d upload.im.cyberjinh.fr -d conference.im.cyberjinh.fr -d proxy.im.cyberjinh.fr -d pubsub.im.cyberjinh.fr sudo certbot renew -n
echo "Mise a jour des certificats OK ! Redemarage du service apache"
sudo systemctl start apache2.service sudo systemctl start apache2.service
echo "Copie des certificats pour prosody !"
cd /etc/prosody/ bash /etc/prosody/le.sh
/.le.sh
exit 0 exit 0