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

Complete-ACMEChallenge throws exception when alias begins with a digit #185

Closed
ghost opened this issue Nov 18, 2016 · 3 comments
Closed

Comments

@ghost
Copy link

ghost commented Nov 18, 2016

PS> New-ACMEIdentifier -Dns 360fcu.r2graphics.com -Alias 360fcu.r2graphics.com-23jlj23
identifier created successfully

PS> Complete-ACMEChallenge 360fcu.r2graphics.com-23jlj23 -ChallengeType http-01 -Handler iis -HandlerParameters @{ WebSiteRef = "Default Web Site" }

exception thrown as follows:

Complete-ACMEChallenge : Input string was not in a correct format.
At line:1 char:1
+ Complete-ACMEChallenge $alias -ChallengeType http-01 -Handler iis
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Complete-ACMEChallenge], FormatException
    + FullyQualifiedErrorId : System.FormatException,ACMESharp.POSH.CompleteChallenge

If I make sure the alias begins with a letter, the exception does not happen.

@ebekker
Copy link
Owner

ebekker commented Nov 18, 2016

That's by design, you can see why over here.

@ebekker
Copy link
Owner

ebekker commented Nov 18, 2016

Added this observation to the FAQ.

@ghost
Copy link
Author

ghost commented Nov 18, 2016

Sorry and thank you

This issue was closed.
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

1 participant