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
echo "Arret du service apache !"
sudo systemctl stop apache2.service
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
echo "OK, lancement du renouvellmenet des certificats"
sudo certbot renew -n
echo "Mise a jour des certificats OK ! Redemarage du service apache"
sudo systemctl start apache2.service
cd /etc/prosody/
/.le.sh
echo "Copie des certificats pour prosody !"
bash /etc/prosody/le.sh
exit 0