question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Domain name with Cyrillic alphabet

See original GitHub issue

Hello! 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: image 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
ohadschncommented, Sep 25, 2018

Don’t close the issue yet, I still need to update the WebJob to use the new letsencrypt-siteextension library version…

2reactions
ohadschncommented, Feb 26, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Phishing attacks using internationalized domains are hard ...
The browser will now display domain names in Punycode if all of their characters are Latin lookalike Cyrillic letters and if the top-level ......
Read more >
Cyrillic Characters Are Favorites for IDN Homograph Attacks
Domain names. Cyrillic (Russian alphabet) characters are the most common characters used in IDN homograph attacks, according to research ...
Read more >
.сайт Domains - Register Your Cyrillic . ...
САЙТ is a term widely used by all Internet users of the Cyrillic alphabet in Belarus, Bulgaria, Russia, and Ukraine, while being also...
Read more >
IDN homograph attack
The internationalized domain name (IDN) homograph attack is a way a malicious party may ... For example, the Cyrillic, Greek and Latin alphabets...
Read more >
Internationalized domain names, the best allies of phishing
However, if the first is indeed the main domain name of the global search engine, the second contains two letters 'о' of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found