/images/hb.png

Hi there! Welcome to my tech blog

Configure HTTPS on a Custom Domain in Azure CDN

This article is not meant to explain to you all the process to configure HTTPS on an Azure CDN custom domain because you can get all this information in this tutorial provided by Microsoft.

The main goal of this article is to share an experience while trying to configure it, and when things do not go in the way you expect.

Context

First of all, in case you are planning to do this configuration process, or if you want to be aware of it, I would invite you to read this tutorial, so you can understand the rest of this article.

As the tutorial says, when you request to enable HTTPS to a given custom domain on your Azure CDN endpoint, there is a validation process that will be performed to ensure the ownership of that custom domain.

If the custom domain is a new domain, then you can create a CNAME record, in your DNS provider, that maps the custom domain to the CDN endpoint’s hostname. Then the validation will be performed automatically by DigitCert.

If the custom domain is being used in a Live application, then you need to use a different approach, creating a CNAME record that maps your custom domain and the CDN endpoint, but with the inclusion of the keyword cdnverify. And in this scenario, DigitCert will query WHOIS the registrant information of the custom domain, to send an email asking to approve the validation request. If the registrant information is private, it sends an email to one of the following emails:

Leveraging Azure Storage Static Website, Azure CDN and Hugo Framework to Build a High Performance and Cost-Effective Website

Azure is constantly evolving to deliver us an extensive set of services that will make our lifes easier, including IT professionals, Business owners and much more.

Context

Recently i decided to create this personal site, so i could share with the community some lessons learned and relevant technical topics, and at same time keep notes of important information to myself for future reference.

So, since multiple times i had people coming to me asking which options they should use to create their personal site or blog or even a business site, i just decided to share what was the experience to create this site, and how easy and cheap it was to create and provision it.