Debian 10 Lets Encript apache2
Inštalácia Lets Encrypt v debian 10 s využitím apache2.4
Pridanie apt repozitárov
nano /etc/apt/sources.list
Pridanie repozitára
deb http://ftp.debian.org/debian buster-backports main
Aktualizácia repozitárov
apt update
Inštalácia Certboot pre apache2
apt install python-certbot-apache -t buster-backports
Virtualhost na danom serveru musí obsahovať nastavenie ServerName
nano /etc/apache2/sites-available/your_domain.conf
ServerName your_domain;
Kontrola apache2 konfiguráacie
apache2ctl configtest
Re-štartovanie apache2
systemctl reload apache2
Vytvorenie certifikátu pomocou certbot klienta domény your_domain a www.your_domain musia byť zavedene v DNS
certbot --apache -d your_domain -d www.your_domain




Obnovenie certifikátu je automatické 30 dni pred jeho koncom.
Vynútenie manuálneho obnovenia:
certbot renew --dry-run
Odstránenie Certbot certifikátu
certbot delete --cert-name example.com