mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
Suddenly "ERROR: Challenge is invalid!" #407
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jangrewe on GitHub (May 20, 2019).
Hi, i've been using
dehydratedfrom the very beginning and never had any trouble with it, so huge thanks for that right upfront!When wildcard certs came around, i switched to
dns-01and used the PowerDNS API to handle the validation records in my zones, which also worked like a charm.But since a couple of days/weeks, i'm having big issues getting all certs for all domains renewed.
Sometimes it happens to cert with ~10 SANs, sometimes it happens to just the domain + wildcard. Then i retry some time later, or the next day, and suddenly that domain works, but there's another one failing then.
An example looks like this:
The only thing all domains have in common is that they always include the wildcard cert.
I also noticed that this happens pretty much always if the scripts also said:
Here's another example of a domain that failed a couple of minutes ago, but now worked flawlessly (and also saying that challenges are pending, but still working fine):
And another example where it seems to fail on exactly the "pending challenge" for which it didn't mention that it "Found valid authorization" for:
@lukas2511 commented on GitHub (May 25, 2019):
This is not an issue with dehydrated, but rather with your DNS zone.
The ACME server can't finde the challenges DNS record on the _acme-challenge subdomain, only an spf record, and it clearly gives you an error message containing the spf string.
On that subdomain there should not be any spf record. Maybe it can work with it present, in that case it's probably an issue with the real record not being provisioned when the ACME server does its lookup. You may want to check your hook scripts for provisioning the zone correctly, and maybe erase the spf record from the subdomain if possible.