Create a App Services Managed Certificate
To deploy this template, you need to have the following resources:
Create an App Service Plan (serverFarm).
Create a App Services on the previous App Service Plan.
Add a APEX custom domain to the App Services. (i.e. contoso.com). For that you will need:
a. Go the the App Services => Your App => Custom Domains and take note of IP Address and Custom Domain Verification ID
b. Under your dns zone (contoso.com) create 2 DNS records:
Record Type Value @ A (IP Address from step a) asuid TXT (Custom Domain Verification ID)
c. Add your root domain going to -> App Services => Custom Domains -> Add custom domain. (ie contoso.com).
More information can be found here.
Make sure you Web App does not have any Network restriction or redirection (such as http to https or to another url).
This arm deployment will:
- Create a Managed Certificate (Free).
The operation is expected to take some time.
Tags: Microsoft.Web/certificates, Microsoft.Web/serverfarms, Microsoft.Web/sites, Microsoft.Web/sites/hostNameBindings