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

ACMEv2 - Domain with Cyrillic alphabet #104

Open
asapostolov opened this issue Jun 1, 2020 · 7 comments
Open

ACMEv2 - Domain with Cyrillic alphabet #104

asapostolov opened this issue Jun 1, 2020 · 7 comments
Labels

Comments

@asapostolov
Copy link

Hey!

So, I'm upgrading from version 0.9.6 to 1.0.5 because of the ACMEv2 support. I use the same websites configuration, just change the .zip - and the exception below occurs.

Cannot issue for "??-????.com": Domain name contains an invalid character

The domain name is пм-атра.com. Contains Cyrillic alphabet characters. This issue is realted to #41 and #199 which were resolved some time ago.

Do you think the issue is again in the underlying library letsencrypt-siteextension? Any idea how to fix it?

[06/01/2020 15:23:34 > f0c9b0: ERR ] Unhandled Exception: System.AggregateException: Encountered exception(s) during cert renewal (and/or notification) ---> Certes.AcmeRequestException: Fail to load resource from 'https://acme-v02.api.letsencrypt.org/acme/finalize/70771399/3591785838'.
[06/01/2020 15:23:34 > f0c9b0: ERR ] urn:ietf:params:acme:error:rejectedIdentifier: Error finalizing order :: Cannot issue for "??-????.com": Domain name contains an invalid character
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at Certes.Acme.IAcmeHttpClientExtensions.<Post>d__0`1.MoveNext()
[06/01/2020 15:23:34 > f0c9b0: ERR ] --- End of stack trace from previous location where exception was thrown ---
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at Certes.Acme.OrderContext.<Finalize>d__2.MoveNext()
[06/01/2020 15:23:34 > f0c9b0: ERR ] --- End of stack trace from previous location where exception was thrown ---
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at Certes.IOrderContextExtensions.<Finalize>d__0.MoveNext()
[06/01/2020 15:23:34 > f0c9b0: ERR ] --- End of stack trace from previous location where exception was thrown ---
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[06/01/2020 15:23:34 > f0c9b0: ERR ]    at Certes.IOrderContextExtensions.<Generate>d__2.MoveNext()
@asapostolov asapostolov changed the title ACMEv2 domain with Cyrillic alphabet ACMEv2 - Domain with Cyrillic alphabet Jun 1, 2020
@ohadschn
Copy link
Owner

ohadschn commented Jun 2, 2020

Could you share the full execution log which should include the full config and the full exception including stack trace (feel free to scrub out PII)?

@asapostolov
Copy link
Author

Thank you! Here is a gist of with the WebJob Log

@ohadschn
Copy link
Owner

ohadschn commented Jun 8, 2020

Funny story, I ran into the exact same issue ~8 months ago, reported it, and found a workaround: sjkp/letsencrypt-siteextension#340

Sorry for my memory malfunction...

@asapostolov
Copy link
Author

Can you clarify, how the workaround looks like when I make the configuration in the webApp? Is letsencrypt:Hostnames equivalent to letsencrypt:webAppName-hosts? Can you give an example?

@ohadschn
Copy link
Owner

Yes that is the equivalent. The sample from the docs should work:
letsencrypt:ohadsoft-hosts: www.ohadsoft.com;ohadsoft.com;myümlautdomain.de

@asapostolov
Copy link
Author

Thank you, it worked!

@ohadschn
Copy link
Owner

Re-opening as I consider this only a workaround

@ohadschn ohadschn reopened this Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants