You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/frontdoor/standard-premium/how-to-configure-https-custom-domain.md
+50-12Lines changed: 50 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,23 @@ ms.service: frontdoor
7
7
ms.topic: article
8
8
ms.workload: infrastructure-services
9
9
ms.date: 06/06/2022
10
-
ms.author: amsriva
10
+
ms.author: duau
11
11
ms.custom: devx-track-azurepowershell
12
12
#Customer intent: As a website owner, I want to add a custom domain to my Front Door configuration so that my users can use my custom domain to access my content.
13
13
---
14
14
15
15
# Configure HTTPS on an Azure Front Door custom domain using the Azure portal
16
16
17
17
18
-
Azure Front Door enables secure TLS delivery to your applications by default when a custom domain is added. By using the HTTPS protocol on your custom domain, you ensure your sensitive data get delivered securely with TLS/SSL encryption when it's sent across the internet. When your web browser is connected to a web site via HTTPS, it validates the web site's security certificate and verifies it gets issued by a legitimate certificate authority. This process provides security and protects your web applications from attacks.
18
+
Azure Front Door enables secure TLS delivery to your applications by default when a custom domain is added. By using the HTTPS protocol on your custom domain, you ensure your sensitive data get delivered securely with TLS/SSL encryption when it's sent across the internet. When your web browser is connected to a web site via HTTPS, it validates the web site's security certificate, and verifies it gets issued by a legitimate certificate authority. This process provides security and protects your web applications from attacks.
19
19
20
-
Azure Front Door supports both Azure managed certificate and customer-managed certificates. Azure Front Door by default automatically enables HTTPS to all your custom domains using Azure managed certificates. No extra steps are required for getting an Azure managed certificate. A certificate is created during the domain validation process. You can also use your own certificate by integrating Azure Front Door Standard/Premium with your Key Vault.
20
+
Azure Front Door supports Azure managed certificate and customer-managed certificates.
21
+
22
+
* A non-Azure validated domain requires domain ownership validation. The managed certificate (AFD managed) is issued and managed by Azure Front Door. Azure Front Door by default automatically enables HTTPS to all your custom domains using Azure managed certificates. No extra steps are required for getting an AFD managed certificate. A certificate is created during the domain validation process.
23
+
24
+
* An Azure pre-validated domain doesn't require domain validation because it's already validated by another Azure service. The managed certificate (Azure managed) is issued and managed by the Azure service. No extra steps are required for getting an Azure managed certificate. Azure Front Door doesn't issue a new managed certificate for this scenario and instead will reuse the managed certificate issued by the Azure service. For supported Azure service for pre-validated domain, refer to [custom domain](how-to-add-custom-domain.md).
25
+
26
+
* For both scenarios, you can bring your own certificate.
21
27
22
28
## Prerequisites
23
29
@@ -27,19 +33,47 @@ Azure Front Door supports both Azure managed certificate and customer-managed ce
27
33
28
34
* If you're using Azure to host your [DNS domains](../../dns/dns-overview.md), you must delegate the domain provider's domain name system (DNS) to an Azure DNS. For more information, see [Delegate a domain to Azure DNS](../../dns/dns-delegate-domain-azure-dns.md). Otherwise, if you're using a domain provider to handle your DNS domain, you must manually validate the domain by entering prompted DNS TXT records.
29
35
30
-
## Azure managed certificates
36
+
## AFD managed certificates for Non-Azure pre-validated domain
31
37
32
38
1. Select **Domains** under settings for your Azure Front Door profile and then select **+ Add** to add a new domain.
33
39
34
40
:::image type="content" source="../media/how-to-configure-https-custom-domain/add-new-custom-domain.png" alt-text="Screenshot of domain configuration landing page.":::
35
41
36
-
1. On the **Add a domain** page, for *DNS management*select the **Azure managed DNS** option.
42
+
1. On the **Add a domain** page, enter or select the following information, then select **Add** to onboard the custom domain.
37
43
38
-
:::image type="content" source="../media/how-to-configure-https-custom-domain/add-domain-azure-managed.png" alt-text="Screen shot of add a domain page with Azure managed DNS selected.":::
44
+
:::image type="content" source="../media/how-to-configure-https-custom-domain/add-domain-azure-managed.png" alt-text="Screenshot of add a domain page with Azure managed DNS selected.":::
45
+
46
+
| Setting | Value |
47
+
|--|--|
48
+
| Domain type | Select **Non-Azure pre-validated domain**|
49
+
| DNS management | Select **Azure managed DNS (Recommended)**|
50
+
| DNS zone | Select the **Azure DNS zone** that host the custom domain. |
51
+
| Custom domain | Select an existing domain or add a new domain. |
52
+
| HTTPS | Select **AFD managed (Recommended)**|
39
53
40
54
1. Validate and associate the custom domain to an endpoint by following the steps in enabling [custom domain](how-to-add-custom-domain.md).
41
55
42
-
1. Once the custom domain gets associated to endpoint successfully, an Azure managed certificate gets deployed to Front Door. This process may take from several minutes to an hour to complete.
56
+
1. Once the custom domain gets associated to an endpoint successfully, an AFD managed certificate gets deployed to Front Door. This process may take from several minutes to an hour to complete.
57
+
58
+
## Azure managed certificates for Azure pre-validated domain
59
+
60
+
1. Select **Domains** under settings for your Azure Front Door profile and then select **+ Add** to add a new domain.
61
+
62
+
:::image type="content" source="../media/how-to-configure-https-custom-domain/add-new-custom-domain.png" alt-text="Screenshot of domain configuration landing page.":::
63
+
64
+
1. On the **Add a domain** page, enter or select the following information, then select **Add** to onboard the custom domain.
65
+
66
+
:::image type="content" source="../media/how-to-configure-https-custom-domain/add-pre-validated-domain.png" alt-text="Screenshot of add a domain page with pre-validated domain.":::
67
+
68
+
| Setting | Value |
69
+
|--|--|
70
+
| Domain type | Select **Azure pre-validated domain**|
71
+
| Pre-validated custom domain | Select a custom domain name from the drop-down list of Azure services. |
72
+
| HTTPS | Select **Azure managed (Recommended)**|
73
+
74
+
1. Validate and associate the custom domain to an endpoint by following the steps in enabling [custom domain](how-to-add-custom-domain.md).
75
+
76
+
1. Once the custom domain gets associated to endpoint successfully, an AFD managed certificate gets deployed to Front Door. This process may take from several minutes to an hour to complete.
43
77
44
78
## Using your own certificate
45
79
@@ -143,20 +177,24 @@ Azure Front Door can now access this key vault and the certificates it contains.
143
177
144
178
## Certificate renewal and changing certificate types
145
179
146
-
### Azure-managed certificate
180
+
### AFD managed certificate for Non-Azure pre-validated domain
147
181
148
-
Azure-managed certificates are automatically rotated when your custom domain uses a CNAME record that points to an Azure Front Door standard or premium endpoint.
182
+
AFD managed certificates are automatically rotated when your custom domain uses a CNAME record that points to an Azure Front Door Standard or Premium endpoint.
149
183
150
184
Front Door won't automatically rotate certificates in the following scenarios:
151
185
152
-
* The custom domain's CNAME record is pointing to other DNS resources.
153
-
* The custom domain points to Azure Front Door through a long chain. For example, if you put Azure Traffic Manager before Azure Front Door, the CNAME chain is `contoso.com` CNAME in `contoso.trafficmanager.net` CNAME in `contoso.z01.azurefd.net`.
186
+
* The custom domain CNAME record is pointing to other DNS resources.
187
+
* The custom domain points to the Azure Front Door through a long chain. For example, if you put Azure Traffic Manager before Azure Front Door, the CNAME chain is `contoso.com` CNAME in `contoso.trafficmanager.net` CNAME in `contoso.z01.azurefd.net`.
154
188
155
189
The domain validation state will become *Pending Revalidation* 45 days before the managed certificate expires, or *Rejected* if the managed certificate issuance is rejected by the certificate authority. Refer to [Add a custom domain](how-to-add-custom-domain.md#domain-validation-state) for actions for each of the domain states.
156
190
191
+
### Azure managed certificate for Azure pre-validated domain
192
+
193
+
Azure managed certificates are automatically rotated by the Azure service that validates the domain.
194
+
157
195
### <a name="rotate-own-certificate"></a>Use your own certificate
158
196
159
-
In order for the certificate to be automatically rotated to the latest version when a newer version of the certificate is available in your key vault, set the secret version to 'Latest'. If a specific version is selected, you have to reselect the new version manually for certificate rotation. It takes up to 24 hours for the new version of the certificate/secret to be automatically deployed.
197
+
In order for the certificate to automatically be rotated to the latest version when a newer version of the certificate is available in your key vault, set the secret version to 'Latest'. If a specific version is selected, you have to reselect the new version manually for certificate rotation. It takes up to 24 hours for the new version of the certificate/secret to be automatically deployed.
160
198
161
199
If you want to change the secret version from ‘Latest’ to a specified version or vice versa, add a new certificate.
0 commit comments