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.
automatic-certbot-renewal/README.md
2023-04-27 22:15:39 +00:00

506 B

automatic-certbot-renewal

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

setup

  • First of all certbot and python3-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)
  • Put /usr/bin/certbot renew --quiet wherever it is needed (eg. Systemd timer/service, cron job)