Can't Create App Service Managed Certificates while CNAME and A record exists

Mahmudul Hasan 1 Reputation point
2021-05-27T20:59:08.55+00:00

Hi!, I want to add an SSL certificate with my custom domain, but it says

Hostname not eligible for App Service Managed Certificates creation. Ensure that your domain www.mahmudx.com has an active CNAME record which is set to mahmudx.azurewebsites.net.

and

Hostname not eligible for App Service Managed Certificates creation. Ensure that your domain mahmudx.com has an A record which is set to 20.43.132.130.

But, I've added the CNAME and the A record in my domain's DNS. Here is a screenshot -

100395-dns.png

How to resolve this issue?

Here are some additional info -

My App Service plan is B1.

100367-d1.png
100384-image.png
100348-image.png
100349-image.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
    2021-05-28T02:26:18.343+00:00

    The two records you are referring to are set as "Proxied" in Cloudflare, and Azure cannot accept them in that way.

    Modify your Cloudflare settings and then try again.


  2. Andrew Lansdowne 0 Reputation points
    2023-03-15T14:28:54.27+00:00

    If you want to keep using Cloudflare Proxy I think your best bet is to generate an Origin SSL certificate within Cloudflare and install this onto the web app, as it seems App Service Managed Certificate is only supported when the DNS points directly to Azure (not via Cloudflare)

    0 comments No comments