Open AHandless opened 7 years ago
Try to do what ebakker suggest here: https://github.com/ebekker/ACMESharp/issues/210
I had same error and I just restarted the process for that host, but I think ebakker would like to get the feedback on those suggestions. :)
This issue has been popping up for lots of folks intermittently lately (even me), I'll need to dig into it a bit to see what's changed recently. In the meantime, if you can force the challenge to be completed once again, this has typically cleared up the situation.
Just as @WallyRanson suggested, try doing the step with Complete-ACMEChallenge
again, but add the -Regenerate
and -Repeat
flags.
Isn't this due to the fact that the authorization is only valid for 10 months? I did not take that into account when I wrote a little renewal-script. My current fix is just to create a new certificate for those servers that runs into the issue. Need to incorporate the -regenerate -repeat in that somehow.
No I got it the first week I tried to make my script. I had never completed a challenge on some of the domains I got the error on and on others I had a standing valid challenge, but when I made a new challenge, then I sometimes got it. I do not work with renewals as such. I rechallenge all domains everytime my script runs.
Ah I was thinking that the reason for it popping up intermittently for people was because of the 10 month validity period for domain authorization. I had it happen on two installations this week. Those installations were not the first ones i configured but I think for the ones older than the ones with the issue I have manually recreated the certificates at some point (due to needing to add another domain or similar).
It's not 10 mos any more, they reduced the validity to only a few weeks now.
But @WallyRanson is right, it's happening for folks (even me) even if they try to complete within a few hours or days.
Well that certainly would explain the issues I've been having. Changed my scripts to authorize the domain every time I need to renew the cert. Thanks for the work @ebekker ☺
Complete-ACMEChallenge : Parameter cannot be processed because the parameter name 'Repeat' is ambiguous. Possible matches include: -RepeatDecoder -RepeatHandler.
and now?
-Regenerate -RepeatHandler -Force
Submit-ACMEChallenge : Unable to update challenge :: The challenge is not pending.
How can I get out of the INVALID loop?
Once the challenge is changed to invalid it is dead and you need to start a new challenge from the beginning again
Ok. But than I‘m directly at https://github.com/ebekker/ACMESharp/issues/331
Just add a timestamp
If I have an existing and validated ACMEIdentifier, I cannot forcefully redo the challenge.