Apache : Installation d'un certificat Let's Encrypt
De www.yakakliker.org
Installation de Certbot
sudo apt install certbot python3-certbot-apache
Vérification de la configuration Apache (Virtualhost)
sudo nano /etc/apache2/sites-available/your_domain.conf
Vérifier la présence de ces lignes :
...
ServerName your_domain
ServerAlias www.your_domain
...
Tester la configuration :
sudo apache2ctl configtest
Recharger la configuration :
sudo systemctl reload apache2
Obtention du certificat SSL
sudo certbot --apache
Vérification du renouvellement automatique de Certbot
sudo systemctl status certbot.timer
Pour tester
sudo certbot renew --dry-run
Générer un wildard Let's encrypt
sudo certbot certonly --manual --preferred-challenges=dns --email webmaster@yakakliker.org --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d yakakliker.org -d *.yakakliker.org
Lien
https://letsencrypt.org/fr/getting-started/
https://www.avanet.com/fr/kb/creer-un-certificat-lets-encrypt-wildcard/
https://www.webhi.com/how-to/fr/generer-certificats-ssl-wildcard-lets-encrypt-nginx/