# certbot register -n --agree-tos --no-eff-email -m "letsencrypt@initipi.sk" - staging # certbot register --staging -n --agree-tos --no-eff-email -m "letsencrypt@initipi.sk"
# certbot certonly -n -a webroot --webroot-path /opt/certbot/www -d domena.tld -d www.domena.tld - staging # certbot certonly --staging -n -a webroot --webroot-path /opt/certbot/www -d domena.tld -d www.domena.tld
/etc/cron.d/certbot-renew-certs:25 5,17 * * * root certbot renew -n >> /var/log/certbot.log 2>&1
# certbot certonly --force-renewal -a webroot --webroot-path /opt/certbot/www --cert-name www.domain.tld
/etc/letsencrypt/renewal-hooks/deploy/99_restart-httpd.shif [ -n "$RENEWED_DOMAINS" ]; then
nginx -t >/dev/null && /etc/init.d/nginx restart >/dev/null
fi
# certbot revoke --cert-path /etc/letsencrypt/live/domena.tld/cert.pem - staging # certbot revoke --staging --cert-path /etc/letsencrypt/live/domena.tld/cert.pem
Delete all relevant certificates and keys
# certbot delete --cert-name domena.tld
# certbot unregister --account [ACCOUNT_ID]