Skip to content

Certifikáty Let's Encrypt

Ľubomír Orság edited this page Feb 20, 2023 · 2 revisions

Zpouštět jako uživatel root
Výpis certifikátů na daném serveru cacheX:

 certbot certificates

Cache #1:

 certbot --nginx -d cache.obalkyknih.cz -d cache1.obalkyknih.cz --post-hook "/home/okcz/okcz/certs/renewal.sh"

Cache #2:

 certbot --nginx -d cache2.obalkyknih.cz --post-hook "/home/okcz/okcz/certs/renewal.sh"

Cache #3:

 certbot --nginx -d cache3.obalkyknih.cz --post-hook "/home/okcz/okcz/certs/renewal.sh"

Renewal pomocí crontab:

 0 0 * * * certbot renew >/dev/null 2>&1
Clone this wiki locally