Thursday, September 01, 2022

win-acme - scheduled update problem and solution

There was a notification from one of our Windows servers that the LetsEncrypt certificates would expire in 17 days. Checking, found that the DNS was set to "DNS only" and not "Proxied" in Cloudflare, so that may not be the reason for the auto-renewal to fail. Running wacs.exe, it mentioned that a scheduled task has a different path to the executable and had problems. Ah! I had moved the location of win-acme - that was the reason. 

Ran wacs with the Edit option, choosing to edit "Everything", choosing the defaults for everything except the step of "remove existing scheduled task" for which I chose "Yes". Then it renewed and set up auto-renewal again.

Edit March 2023: Shifted to Cloudflare origin certificate since this problem repeated. https://hnsws.blogspot.com/2023/03/setting-up-cloudflare-origin.html

No comments:

Post a Comment