Category: https

  • Automating Certbot Renewals

    I was renewing my Let’s Encrypt certificates using the cron entry below, but this was problematic, as I was turning Apache off/on with each attempt, whether or not there was a certificate update available. 42 3 * * * root /usr/sbin/apache2ctl stop; /opt/certbot-auto renew >> /var/log/certbot-auto.log; /usr/sbin/apache2ctl start; After checking with a co-worker and reading…