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

Unable to resubmit challenge that has failed #49

Closed
johnmannix opened this issue Dec 4, 2015 · 3 comments
Closed

Unable to resubmit challenge that has failed #49

johnmannix opened this issue Dec 4, 2015 · 3 comments

Comments

@johnmannix
Copy link

If I use Submit-ACMEChallenge and it fails for some reason - say the validation file wasn't available on the expected URL - then I want to be able to fix the problem and re-submit the validation.

However, if I try to do that I get an "Unexpected error" from Submit-ACMEChallenge.

I have tried calling Complete-ACMEChallenge with -Regenerate and/or -Repeat but neither seem to resolve this problem.

@ebekker
Copy link
Owner

ebekker commented Dec 4, 2015

That's actually a limitation of the Let's Encrypt service. I don't think it's explicitly documented or addressed in the ACME specification, but when a Challenge is first issued, it's in the pending state.

Then when you complete and submit the Challenge, and the ACME server tries to validate it, if it succeeds, the Challenge moves to the valid state, and if not, then it moves to the invalid state.

Once the Challenge state has changed, you cannot resubmit it again. You have to resubmit the whole Identifier Validation again.

So unfortunately, nothing I can do about that.

@ebekker
Copy link
Owner

ebekker commented Dec 4, 2015

One thing I will do though, is improve the user experience by detecting the situation and messaging better guidance, as documented in this new ticket.

@johnmannix
Copy link
Author

In that case, is there a way to delete an identifier so that you can start again?

From: Eugene Bekker [mailto:notifications@github.com]
Sent: 04 December 2015 16:32
To: ebekker/ACMESharp ACMESharp@noreply.github.com
Cc: John Mannix John@governor.co.uk
Subject: Re: [ACMESharp] Unable to resubmit challenge that has failed (#49)

That's actually a limitation of the Let's Encrypt service. I don't think it's explicitly documented to addressed in the ACME specification, but when a Challenge is first issued, it's in the pending state, then when you submit the Challenge (after you've handled it), and the ACME server tries to validate it, if it succeeds, the Challenge moves to the valid state, and if not, then it moves to the invalid state. Once the Challenge state has changed, you cannot resubmit it again. You have to resubmit the whole Identifier Validation again.

So unfortunately, nothing I can do about that.


Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-162013140.

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

2 participants