-
Lego stopped renewing my certs, and I'm not sure what's wrong. This has been working fine for a year or more, but something broke around the Dec-Jan-Feb timeframe, and I'm not sure what's wrong or how to fix it. I'm using the current Docker image, ID
Anyway. This is the command I'm running:
And my environment:
This is its output:
I can't switch to another challenge type, because DNS-01 is required to issue a wildcard cert. I found some similar issues, but nothing quite like what I'm experiencing. One suggestion was to change the DNS resolvers, so I tried that:
This gives different output, but still fails:
I get the same issue using What can I do to troubleshoot this issue and get new certs? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I dug a bit more, it's very hard to figure out what Lego is doing, since it doesn't have any kind of debug logging facility. Here's where Joker describes using Let's Encrypt. I was able to successfully update my zone with curl:
Running
So I know the underlying stuff is working. And it's immediately visible, so I don't think it's a timing issue. I'm at a loss to understand a) what exactly lego is doing and b) why it broke c) why specifying different |
Beta Was this translation helpful? Give feedback.
-
Okay, I was able to figure this out. I was asking for certs for And also, the DDNS update put the challenge response into a place where LE would never look, again, because of the delegation of the subdomain. I removed the NS record which delegated it, ran lego again, and it worked fine. |
Beta Was this translation helpful? Give feedback.
Okay, I was able to figure this out.
I was asking for certs for
lab.pins.atomized.org
(and a wildcard of that). Butpins.atomized.org
was delegated to a nameserver that's only reachable on my LAN, so when LE tried to validate the challenge, it couldn't reach it and reported SERVFAIL.And also, the DDNS update put the challenge response into a place where LE would never look, again, because of the delegation of the subdomain.
I removed the NS record which delegated it, ran lego again, and it worked fine.