Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wytcld opened this issue Jun 23, 2016 · 1 comment
Open

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

wytcld opened this issue Jun 23, 2016 · 1 comment

Comments

@wytcld
Copy link

wytcld commented Jun 23, 2016

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
Copy link
Author

wytcld commented Jun 23, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant