question

ArunRana-3842 avatar image
0 Votes"
ArunRana-3842 asked ChaitanyaNaykodiMSFT-9638 commented

Cert error in root url without www for stactic website on azure cdn

Hello

I have a static website on Azure CDN, I have mapped custom domains like "https://www.abc.com" and used inbuild CDN SSL and it's working fine.

but my root domain have cert error without "https://abc.com"

I have tried to use my own wildcard certificate, that was also not worked.

After that, I have added a root custom domain in azure CDN like abc.com by a workaround in DNS setting still it's not working

is there any way to resolve this?

azure-webapps-ssl-certificatesazure-dnsazure-cdn
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered ChaitanyaNaykodiMSFT-9638 commented

Hello @ArunRana-3842, Thank you for reaching out and apologies for the delay. As per my understanding of the issue, any request to "https://www.abc.com" resolves fine but when the request is sent on your root domain "https://abc.com" there TLS Cert error. Please correct me if my understanding is wrong.

You can overcome this issue by mapping your root domain to your CDN profile using CNAME flattening or DNS chasing. A mechanism where the DNS provider recursively resolves the CNAME entry until it hits an IP address. Please go through this documentation for additional details regarding implementation using Azure DNS. If you are not using Azure DNS, please check if your DNS provider supports CNAME flattening functionality.

I hope this helps. Please let me know if you have ay additional questions I will be glad to continue with our discussion. Thank you!


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have DNS with GoDaddy and i did some workaround to apex domain as the custom domain in the Azure CDN website as below

141309-image.png

After that, I was able to set up the apex domain in the custom domain section as below

141310-image.png

and I have used my own certificate to enable HTTPS for that still that is not working

0 Votes 0 ·
image.png (8.8 KiB)
image.png (42.1 KiB)

Hello @ArunRana-3842, Thank you for your response and providing additional details. I think to​​ troubleshoot the exact issue we will need specialized 1:1 session, where a support engineer can have a screen share session to pin point the issue. If you have a support plan you may file a support ticket, else could you please send an email to azcommunity@microsoft.com with the below details.

Subject : Attn Chaitanya
Thread URL: Link to this thread.
Subscription ID

Please let me know once you have done the same. Please let me know if you have any additional concerns. Thank you!

0 Votes 0 ·