acmeshell icon indicating copy to clipboard operation
acmeshell copied to clipboard

What's the best way to set up auto-updates?

Open wytcld opened this issue 8 years ago • 1 comments

Love the tool.

Since the certs expire every 90 days, what's the best practice using this? I see I can do this:

echo "certificateget domain.name" | ./letsencryptshell

which pulls in a fresh copy (with the same expiration) and cycles the old copy to a .bk file. Is there a way to test using this tool, only pull in a fresh copy and restart the webserver if it's new, and run that from cron?

wytcld avatar Jun 23 '16 14:06 wytcld

Looking at your example script, a fresh domainchallenge is required for updates? So where the method used was dns, this will require updating the txt entry in the dns server, right? So the best I can do, even with a cron job set to run every 89 days or the like (http://backreference.org/2013/08/25/run-cron-job-every-n-days/) is send myself a note to run the manual process?

wytcld avatar Jun 23 '16 16:06 wytcld