Overview:
We can secure a custom DNS name with the help of TLS/SSL binding in Azure App Service.
When hosting a website on Azure App Service, it is important to ensure that the site is secure and can be accessed via a custom domain name. This can be achieved by using TLS/SSL binding, which encrypts data transmitted to and from the website, thereby ensuring that sensitive information is protected. With this setup, users can access the website via a custom domain name, which adds an extra layer of professionalism and branding to the site.
Issue:
The users are not able to purchase and bind the app service certificate for their app service having a custom domain with a special character from Azure Portal.
Solution and recommendations:
- Azure by default does not provide the facility to purchase the custom domain with the special character except periods and dashes.
- The user can purchase the custom domain outside Azure with special characters apart from periods and dashes.
- In this case, the user will not be able to purchase the App Service Certificate from Azure with the custom domain consists a special character.
- To purchase and bind the Certificate with such domain from Azure Portal, the custom domain first needs to be converted to its Punny code using the below converter:
Punycode converter (IDN converter), Punycode to Unicode :wrench:(punycoder.com)
- Purchase the certificate with the Punny code custom domain and bind the certificate with the app service custom domain.
Add and manage TLS/SSL certificates - Azure App Service | Microsoft Learn
- Browse the app service to verify the SSL Certificate.
If this helps you, do let me know via like and comments section, cheers!
Happy Learning!
References :
Create and Bind the custom domain contains special Unicode character in App Service Using Azure CLI.
Add and manage TLS/SSL certificates - Azure App Service | Microsoft Learn
az appservice domain | Microsoft Learn
List of Unicode characters - Wikipedia