Simple setup for automatic renewal of certificates with Certbot
This repository has been archived on 2023-10-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2023-04-28 05:54:41 +00:00
LICENSE Initial commit 2023-04-27 22:04:22 +00:00
README.md Update 'README.md' 2023-04-28 05:54:41 +00:00

automatic-certbot-renewal

Simple setup for automatic renewal of certificates with Certbot and Nginx. (Because I always have to search for it...)

  1. First of all certbot and python3-certbot-nginx have to be installed.
  2. Put the configured sites in /etc/nginx/conf.d/
  3. first of all generate the config: sudo certbot --nginx -d example.site -d www.example.site (⚠️ This will change your config)

setup (standalone)

  1. Put /usr/bin/certbot renew --quiet wherever it is needed (eg. Systemd timer/service, cron job)

Setup (packaged)

  1. Look if you have a service called certbot-renew.service and a timer called certbot-renew.timer
  2. If both are present enable only certbot-renew.timer