Mise à jour de 'certrenew.sh'
This commit is contained in:
parent
d1fe80fdb2
commit
be64b63f3c
12
certrenew.sh
12
certrenew.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user