Un blog pour tous les administrateurs, hackers, étudiants et autres passionnés de la ligne de commande Linux et de la cybersécurité

creation du certificat :

certbot certonly --manual -d domaine.com -d www.domaine.com -d sousdomaine.domaine.com

ou

apt-get install python-certbot-apache pour debian 11 et inférieur

apt-get install python3-certbot-apache pour debian 12 et supérieur

puis

certbot certonly --apache --webro...

Pour renouveler le certificat Let's encrypt de son serveur web protégé par Cloudflare, le plus simple est de donner accès à l'API Cloudflare à certbot. Voici comment faire sur Debian :

1/ Installer ce qu'il faut :

apt-get install python3 certbot python3-certbot python3-certbot-dns-cloudflare

2...