Domain name with Cyrillic alphabet
See original GitHub issueHello! I have a case in which I need to configure Let’s Encrypt renewer with a domain that has Cyrillic characters in the domain name. The domain name is пм-атра.com which is encoded in the form of xn----8sba9bojn.com when you do copy-paste and configure the domain in any web apps. Here’s a link to the website(in Bulgarian).
So the problem: In Windows Azure the only way to configure this domain is with the Cyrillic name пм-атра.com. When I set this domain name to the WebJob configuration I get the following error when contacting the Let’s Encrypt server:
Invalid character in DNS name
When I set the value in WebJob’s config to xn----8sba9bojn.com, the WebJob cannot find a configured domain with that name, because in Azure settings it’s called пм-атра.com. I tried to remove the пм-атра.com name configuration from the web app domain settings and set it to xn----8sba9bojn.com but Azure does not let me input the domain as xn----8sba9bojn.com.
Is there something that can be done on the application side of the solution, so I could set пм-атра.com as the setting in the WebJob and maybe the app itself could translate it to xn----8sba9bojn.com for the request to the Let’s Encrypt server but use it as пм-атра.com for checking and matching Windows Azure’s settings?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:13 (8 by maintainers)

Top Related StackOverflow Question
Don’t close the issue yet, I still need to update the WebJob to use the new
letsencrypt-siteextensionlibrary version…Hi @asapostolov,
I can confirm this behavior but unfortunately, my hands are tied, since I’m using a library that orchestrates this flow. Could you open a bug for this in https://github.com/sjkp/letsencrypt-siteextension?
A better title might be “support non-ascii domain names” and mention that they should be encoded using punycode for Let’s Encrypt but remain as-is for Azure operations.