question

Praemon-5367 avatar image
Praemon-5367 asked ·

Create App Service Managed Certificate with FrontDoor CNAME

I have a linux Web App backend attached to a FrontDoor instance with a custom domain, but I'm unable to create a managed certificate on the web app due to the error: "Hostname not eligible for App Service Managed Certificates creation."

How do I complete this step if the CNAME record is pointing to FrontDoor? I cannot temporarily change the CNAME record as it's a production website. Adding a "awverify" TXT record works for adding the custom domain to the web app, but not the certificate creation.

azure-webapps
10 |1000 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.

eberdev avatar image
eberdev answered ·

Unfortunately it does not seem this is possible.

this is from another thread i found here: https://serverfault.com/questions/997025/hostname-not-eligible-for-app-service-managed-certificates-creation

App Service Managed Certificates can only be used with URL's that are setup as DNS CNAME records. "www.stratus-integration.com" has been setup as an A record, not CNAME. You will need to delete the A record and create a CNAME record pointing to the app service DNS name.

Is there a possibility you can create the cert elsewhere and just use a regular SSL Cert?

HTH

Share
10 |1000 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.

xequence avatar image
xequence answered ·

azure cloud shell powershell command Set-AzFrontDoor -Name yourfrontdoorname -ResourceGroupName yourResourceGroup -DisableCertificateNameCheck

More commands for your convenience, https://docs.microsoft.com/en-us/powershell/module/az.frontdoor/set-azfrontdoor?view=azps-3.2.0

Share
10 |1000 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.