-
Notifications
You must be signed in to change notification settings - Fork 184
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
Complete-ACMEChallenge -Handler manual no longer returns manual details #335
Comments
Your complete-acmechallenge actually returns an object, but you are just not catching it. |
I believe that's the result of the following changes in v0.9.1
See https://github.com/ebekker/ACMESharp/releases/tag/v0.9.1 I think you should be able to write the required output formatted as JSON to a text file like this:
|
That workaround does work, it's just a major breaking change that disagrees
with the docs and breaks the scripts I and I'm sure others have written.
I think if the docs are just updated in a way that shows as simply as
possible how to dump to the console in the example then we'll be in a good
place here. There are many automated ways to do LetsEncrypt, so I think
this library, to me, is about breaking down the process for people who are
new to it into simple steps where you can easily observe its work.
|
I found that this sequence of script throws an error (complains about the ConvertFrom - JSON), but also causes the previous output to be dumped to the console.
|
Can someone please provide the full command I need to run in order to view the Complete-ACMEChallenge to show the DNS record information I need to actually complete the challenge? Since the ACMEChallenge was updated to the current broken version of 0.9.1 the dev's deiced not to include the output to the command where you can read it and actually complete the challenge. In the release notes they state that you simply use the STDOUT but I can't find any documentation on how to do that. |
@ACMEChallengeBroken
Please check my blog post(japanese). |
@HiroyukiSakoh If i run the Update-ACMEIdentifier by itself you can see there is nothing there... thus when I try running your script the $Challenge variable never leaves the $null state. Status : pending |
@ACMEChallengeBroken A. Using A will always be $null, and using B will move forward. I suspect that there is anything related to #72, #90 Probably executing A before executing B breaks that ACMEIdentifier. |
I can't find any docs on this change. A prior version of ACMESharp had a manual mode that would provide output like:
== Manual Challenge Handler - HTTP ==
To complete this Challenge please create a new file
under the server that is responding to the hostname
and path given with the following characteristics:
]
However, none of these critical details appear anymore. Instead, I get:
PS D:\cert> complete-acmechallenge dns104 -ChallengeType http-01 -handler manual -handlerparameters @{ WebSiteRef = 'bra
ss9.com' }
IdentifierPart : ACMESharp.Messages.IdentifierPart
IdentifierType : dns
Identifier : brass9.com
Uri : https://acme-v01.api.letsencrypt.org/acme/authz/U34Rl8g1cox5PMecB6XyhqafIMC2gDTZC5ShP-vq2MQ
Status : pending
Expires : 2/28/2018 12:14:11 PM
Challenges : {, manual}
Combinations : {0, 1}
And that's it - none of what I need to actually perform the manual submit!
What am I doing wrong? Or is the library's manual feature not working properly?
The text was updated successfully, but these errors were encountered: