certbot certificates
certbot delete
sudo certbot --apache
nano /var/log/letsencrypt/letsencrypt.log
sudo certbot --authenticator webroot --installer apache -w /var/www/html/nxcloud/ -d $TON_NDD1 -d $TON_NDD2 --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2"
certbot --apache
Et on coche les bons couples de noms de domaines.