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
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user