You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 month ago | |
---|---|---|
LICENSE | 1 month ago | |
README.md | 1 month ago |
README.md
automatic-certbot-renewal
Simple setup for automatic renewal of certificates with Certbot and Nginx. (Because I always have to search for it...)
- First of all
certbot
andpython3-certbot-nginx
have to be installed. - Put the configured sites in
/etc/nginx/conf.d/
- first of all generate the config:
sudo certbot --nginx -d example.site -d www.example.site
(⚠️ This will change your config)
setup (standalone)
- Put
/usr/bin/certbot renew --quiet
wherever it is needed (eg. Systemd timer/service, cron job)
Setup (packaged)
- Look if you have a service called
certbot-renew.service
and a timer calledcertbot-renew.timer
- If both are present enable only certbot-renew.timer