question

MikeHudgell-7457 avatar image
0 Votes"
MikeHudgell-7457 asked ·

App Service Managed Certificate - uk domains

I'm trying to use the new app service managed certificates with its new domain-root functionality (not a sub-domain) - but when I try and use a .org.uk domain (worthing-scouts.org.uk) which is the domain registered its asking for cnames and not A records.

It looks like the functionality isn't detecting domains issues in *.org.uk is a normal domain.

azure-webapps-ssl-certificates
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.

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered ·

Hi @MikeHudgell-7457,

Thanks for the question. Are you trying to access app service managed certificate through the portal?

In the meantime, can you please try using this ARM template?

You can use this Powershell script to run ARM template

 $subscription = "SUBSCRIPTION-ID"
 $resourceGroupName = "RESOURCE-GROUP-NAME"
 $appServicePlanName = "APP-SERVICE-PLAN-NAME"
 $subjectName = "DOMAIN-NAME"
    
 Set-AzureRmContext -SubscriptionId $subscription
    
 $appServicePlan = Get-AzureRmResource `
     | Where-Object {$_.ResourceGroupName -eq $resourceGroupName } `
     | Where-Object {$_.Name -eq $appServicePlanName}
    
 New-AzureRMResourceGroupDeployment `
     -ResourceGroupName $resourceGroupName `
     -SubjectName $subjectName `
     -AppServicePlanName $appServicePlanName `
     -Location $appServicePlan.Location `
     -TemplateFile "CreateHttpFreeCert.json" 

This script will only create an App Service Managed Certificate for a custom domain that has already been added to your web app. If you run this script before adding a custom domain to the web app, the script will fail.

Best,
Grace






· 1 ·
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.

I can confirm I was trying through the portal, I'll try the script later today.

0 Votes 0 ·
MikeHudgell-7457 avatar image
0 Votes"
MikeHudgell-7457 answered ·

@Grmacjon-MSFT I can confirm that the script can create the pfx certificates correctly, so looks like a bug in the azure portal. How would you like it reported?

·
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.