Renew certs for a Mac with this plist file. Full automation

This is better than a cron job - which is depreciated on the Mac.

It runs every day, at 10:15, but of course certbot only renews if the cert needs it.
I’ve put it in /Library/LaunchDaemons/com.certbot-auto-renew.plist and you load it with
sudo launchctl load -w com.certbot-auto-renew.plist

This directory is not blocked by the SIP system on the Mac.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
<plist version="1.0">
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.