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/app-service/configure-ssl-app-service-certificate.md
+28-28Lines changed: 28 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ author: msangapu-msft
13
13
14
14
# Buy and manage App Service certificates
15
15
16
-
This article shows how to create an App Service certificate and perform management tasks like renewing, synchronizing, and deleting certificates. After you have an App Service certificate, you can then import it into an App Service app. An App Service certificate is a private certificate that's managed by Azure. It combines the simplicity of automated certificate management and the flexibility of renewal and export options.
16
+
This article shows how to create an Azure App Service certificate and perform management tasks like renewing, synchronizing, and deleting certificates. After you have an App Service certificate, you can then import it into an App Service app. An App Service certificate is a private certificate thatAzure manages. It combines the simplicity of automated certificate management and the flexibility of renewal and export options.
17
17
18
18
If you purchase an App Service certificate from Azure, Azure manages the following tasks:
19
19
@@ -38,7 +38,7 @@ Currently, App Service certificates aren't supported in Azure national clouds.
38
38
1. Go to the [Create App Service certificate page](https://portal.azure.com/#create/Microsoft.SSL) to start the purchase.
39
39
40
40
> [!NOTE]
41
-
> App Service certificates purchased from Azure are issued by GoDaddy. For some domains, you must explicitly allow GoDaddy as a certificate issuer by creating a [CAA domain record](https://wikipedia.org/wiki/DNS_Certification_Authority_Authorization) with the value `0 issue godaddy.com`.
41
+
> GoDaddy issues App Service certificates that are purchased from Azure. For some domains, you must explicitly allow GoDaddy as a certificate issuer by creating a [Certification Authority Authorization domain record](https://wikipedia.org/wiki/DNS_Certification_Authority_Authorization) with the value `0 issue godaddy.com`.
42
42
43
43
:::image type="content" source="./media/configure-ssl-certificate/purchase-app-service-cert.png" alt-text="Screenshot that shows the Create App Service certificate pane with purchase options.":::
44
44
@@ -57,9 +57,9 @@ Currently, App Service certificates aren't supported in Azure national clouds.
57
57
58
58
#### Store the certificate in Azure Key Vault
59
59
60
-
[Azure Key Vault](/azure/key-vault/general/overview) is an Azure service that helps safeguard cryptographic keys and secrets used by cloud applications and services. For App Service certificates, we recommend that you use Key Vault. After you finish the certificate purchase process, you must complete a few more steps before you start using the certificate.
60
+
[Key Vault](/azure/key-vault/general/overview) is an Azure service that helps safeguard cryptographic keys and secrets used by cloud applications and services. For App Service certificates, we recommend that you use Key Vault. After you finish the certificate purchase process, you must complete a few more steps before you start using the certificate.
61
61
62
-
1. On the [App Service Certificates page](https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.CertificateRegistration%2FcertificateOrders), select the certificate. On the certificate menu, select **Certificate Configuration** > **Step 1: Store**.
62
+
1. On the [App Service Certificates page](https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.CertificateRegistration%2FcertificateOrders), select the certificate. On the certificate pane, select **Certificate Configuration** > **Step 1: Store**.
63
63
64
64
:::image type="content" source="media/configure-ssl-certificate/configure-key-vault.png" alt-text="Screenshot that shows the Certificate Configuration pane with Step 1: Store selected.":::
65
65
@@ -84,39 +84,39 @@ Currently, App Service certificates aren't supported in Azure national clouds.
84
84
85
85
#### Confirm domain ownership
86
86
87
-
1.From the same **Certificate Configuration** page as in the previous section, select **Step 2: Verify**.
87
+
1.On the same **Certificate Configuration** page as in the previous section, select **Step 2: Verify**.
88
88
89
89
:::image type="content" source="media/configure-ssl-certificate/verify-domain.png" alt-text="Screenshot the shows the Certificate Configuration pane with Step 2: Verify selected.":::
90
90
91
-
1. Select **App Service Verification**. Because you mapped the domain to your web app earlier in this section, the domain is already verified. To finish this step, just select **Verify**, and then select **Refresh** until the message **Certificate is Domain Verified** appears.
91
+
1. Select **App Service Verification**. Because you mapped the domain to your web app earlier in this section, the domain is already verified. To finish this step, select **Verify**, and then select **Refresh** until the message **Certificate is Domain Verified** appears.
92
92
93
93
The following domain verification methods are supported:
94
94
95
95
| Method | Description |
96
96
|--------|-------------|
97
-
| App Service verification | The most convenient option when the domain is already mapped to an App Service app in the same subscription because the App Service app has already verified the domain ownership. Review the last step in [Confirm domain ownership](#confirm-domain-ownership). |
98
-
| Domain verification | Confirm an [App Service domain that you purchased from Azure](manage-custom-dns-buy-domain.md). Azure automatically adds the verification TXT record for you and completes the process. |
97
+
| App Service verification | The most convenient option when the domain is already mapped to an App Service app in the same subscription because the App Service app verified the domain ownership. Review the last step in [Confirm domain ownership](#confirm-domain-ownership). |
98
+
| Domain verification | Confirm an [App Service domain that you purchased from Azure](manage-custom-dns-buy-domain.md). Azure automatically adds the verification TXT record for you and finishes the process. |
99
99
| Mail verification | Confirm the domain by sending an email to the domain administrator. Instructions are provided when you select the option. |
100
-
| Manual verification | Confirm the domain by using either a DNS TXT record or an HTML page. (The latter applies only to Standard certificates. See the following note.) The steps are provided after you select the option. The HTML page option doesn't work for web apps with **HTTPS Only** enabled. For domain verification via DNS TXT record for either the root domain (for example, `contoso.com`) or the subdomain (for example, `www.contoso.com` or `test.api.contoso.com`) and regardless of the certificate SKU, you need to add a TXT record at the root domain level. Use `@` for the name and the domain verification token for the value in your DNS record. |
100
+
| Manual verification | Confirm the domain by using either a Domain Name System (DNS) TXT record or an HTML page. (The latter applies only to Standard certificates. See the following note.) The steps are provided after you select the option. The HTML page option doesn't work for web apps with **HTTPS Only** enabled. For domain verification via DNS TXT record for either the root domain (for example, `contoso.com`) or the subdomain (for example, `www.contoso.com` or `test.api.contoso.com`) and regardless of the certificate SKU, you need to add a TXT record at the root domain level. Use `@` for the name and the domain verification token for the value in your DNS record. |
101
101
102
102
> [!IMPORTANT]
103
-
> With the Standard certificate, you get a certificate for the requested top-level domain *and* the `www` subdomain, for example, `contoso.com` and `www.contoso.com`. However, App Service Verification and Manual Verification both use HTML page verification, which doesn't support the `www` subdomain when you issue, rekey, or renew a certificate. For the Standard certificate, use Domain Verification and Mail Verification to include the `www` subdomain with the requested top-level domain in the certificate.
103
+
> With the Standard certificate, you get a certificate for the requested top-level domain *and* the `www` subdomain, for example, `contoso.com` and `www.contoso.com`. App Service verification and manual verification both use HTML page verification, which doesn't support the `www` subdomain when you issue, rekey, or renew a certificate. For the Standard certificate, use domain verification and mail verification to include the `www` subdomain with the requested top-level domain in the certificate.
104
104
105
105
After your certificate is domain verified, [you can import it into an App Service app](configure-ssl-certificate.md#import-an-app-service-certificate).
106
106
107
107
## Renew an App Service certificate
108
108
109
109
By default, App Service certificates have a one-year validity period. Before the expiration date, you can automatically or manually renew App Service certificates in one-year increments. The renewal process effectively gives you a new App Service certificate with the expiration date extended to one year from the existing certificate's expiration date.
110
110
111
-
Starting September 23, 2021, if you haven't verified the domain in the last 395 days, App Service certificates require domain verification during a renew, autorenew, or rekey process. The new certificate order remains in "pending issuance" mode during the renew, autorenew, or rekey process until you finish the domain verification.
111
+
As of September 23, 2021, if you haven't verified the domain in the last 395 days, App Service certificates require domain verification during a renewal, autorenewal, or rekey process. The new certificate order remains in **Pending issuance** mode during the renewal, autorenewal, or rekey process until you finish the domain verification.
112
112
113
113
Unlike the free App Service managed certificate, purchased App Service certificates don't have automated domain reverification. Failure to verify domain ownership results in failed renewals. For more information about how to verify your App Service certificate, review [Confirm domain ownership](#confirm-domain-ownership).
114
114
115
115
The renewal process requires that the service principal for App Service has the required permissions on your key vault. These permissions are set up for you when you import an App Service certificate through the Azure portal. Make sure that you don't remove these permissions from your key vault.
116
116
117
117
1. To change the automatic renewal setting for your App Service certificate at any time, on the [App Service Certificates page](https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.CertificateRegistration%2FcertificateOrders), select the certificate.
118
118
119
-
1. On the left menu, select **Auto Renew Settings**.
119
+
1. On the left pane, select **Auto Renew Settings**.
120
120
121
121
1. Select **On** or **Off**, and then select **Save**.
122
122
@@ -126,7 +126,7 @@ The renewal process requires that the service principal for App Service has the
126
126
127
127
1. To manually renew the certificate instead, select **Manual Renew**. You can request to manually renew your certificate 60 days before expiration, but [certificates can't be issued for longer than 397 days](https://www.godaddy.com/help/important-notification-about-ssl-offerings-9322).
128
128
129
-
1. After the renew operation completes, select **Sync**.
129
+
1. After the renewal operation finishes, select **Sync**.
130
130
131
131
The sync operation automatically updates the hostname bindings for the certificate in App Service without causing any downtime to your apps.
132
132
@@ -136,13 +136,13 @@ The renewal process requires that the service principal for App Service has the
136
136
137
137
If you think your certificate's private key is compromised, you can rekey your certificate. This action rotates the certificate with a new certificate issued from the certificate authority.
138
138
139
-
Starting September 23, 2021, if you haven't verified the domain in the last 395 days, App Service certificates require domain verification during a renew, autorenew, or rekey process. The new certificate order remains in "pending issuance" mode during the renew, autorenew, or rekey process until you finish the domain verification.
139
+
As of September 23, 2021, if you haven't verified the domain in the last 395 days, App Service certificates require domain verification during a renewal, autorenewal, or rekey process. The new certificate order remains in **Pending issuance** mode during the renewal, autorenewal, or rekey process until you finish the domain verification.
140
140
141
141
Unlike the free App Service managed certificate, purchased App Service certificates don't have automated domain reverification. Failure to verify domain ownership results in failed renewals. For more information about how to verify your App Service certificate, review [Confirm domain ownership](#confirm-domain-ownership).
142
142
143
143
The rekey process requires that the service principal for App Service has the required permissions on your key vault. These permissions are set up for you when you import an App Service certificate through the Azure portal. Make sure that you don't remove these permissions from your key vault.
144
144
145
-
1. On the [App Service Certificates page](https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.CertificateRegistration%2FcertificateOrders), select the certificate. On the left menu, select **Rekey and Sync**.
145
+
1. On the [App Service Certificates page](https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.CertificateRegistration%2FcertificateOrders), select the certificate. On the left pane, select **Rekey and Sync**.
146
146
147
147
1. To start the process, select **Rekey**. This process can take 1 to 10 minutes to finish.
148
148
@@ -166,7 +166,7 @@ The exported certificate is an unmanaged artifact. App Service doesn't sync such
166
166
167
167
1. On the [App Service Certificates page](https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.CertificateRegistration%2FcertificateOrders), select the certificate.
168
168
169
-
1. On the left menu, select **Export Certificate**.
169
+
1. On the left pane, select **Export Certificate**.
The downloaded .pfx file is a raw PKCS12 file that contains both the public and private certificates and has an import password that's an empty string. You can locally install the file by leaving the password field empty. You can't [upload the file as-is into App Service](configure-ssl-certificate.md#upload-a-private-certificate) because the file isn't [password protected](configure-ssl-certificate.md#private-certificate-requirements).
210
210
211
-
## Use Azure Advisor for App Service certificate
211
+
## Use Azure Advisor for App Service certificates
212
212
213
-
The App Service certificate is integrated with [Azure Advisor](/azure/advisor/advisor-overview) to provide reliability recommendations for when your certificate requires domain verification. You must verify domain ownership for your certificate during the renewal, autorenewal, or rekey process if you haven't verified the domain in the last 395 days. To ensure that you don't miss any certificate that requires verification or risk any certificate from expiring, you can use Azure Advisor to view and set up alerts for the App Service certificate.
213
+
An App Service certificate is integrated with [Azure Advisor](/azure/advisor/advisor-overview) to provide reliability recommendations for when your certificate requires domain verification. If you haven't verified the domain in the last 395 days, you must verify domain ownership for your certificate during the renewal, autorenewal, or rekey process. To make sure that you don't miss any certificate that requires verification or risk any certificate from expiring, use Advisor to view and set up alerts for the App Service certificate.
214
214
215
215
### View Advisor recommendations
216
216
217
217
To view Advisor recommendations for the App Service certificate:
218
218
219
219
1. Go to the [Azure Advisor page](https://portal.azure.com/#view/Microsoft_Azure_Expert/AdvisorMenuBlade/~/overview).
220
220
221
-
1. On the left menu, select **Recommendations** > **Reliability**.
221
+
1. On the left pane, select **Recommendations** > **Reliability**.
222
222
223
223
1. Select the filter option **Type equals** and search for **App Service Certificates** from the dropdown list. If the value doesn't exist on the dropdown menu, that means no recommendation was generated for your App Service certificate resources because none of them requires domain ownership verification.
224
224
225
-
### Create Advisor Alerts
225
+
### Create Advisor alerts
226
226
227
-
You [create Azure Advisor alerts on new recommendations] by using different configurations. To set up Advisor Alerts specifically for an App Service certificate so that you can get notifications when your certificate requires domain ownership validation:
227
+
You create Advisor alerts on new recommendations by using different configurations. To set up Advisor alerts specifically for an App Service certificate so that you can get notifications when your certificate requires domain ownership validation:
228
228
229
229
1. Go to the [Azure Advisor page](https://portal.azure.com/#view/Microsoft_Azure_Expert/AdvisorMenuBlade/~/overview).
230
230
231
-
1. On the left menu, select **Monitoring** > **Alerts (Preview)**.
231
+
1. On the left pane, select **Monitoring** > **Alerts (Preview)**.
232
232
233
233
1. Select **+ New Advisor Alert** on the bar at the top to open the **Create Advisor Alerts** pane.
234
234
@@ -246,26 +246,26 @@ If you delete an App Service certificate, the delete operation is irreversible a
246
246
247
247
1. On the [App Service Certificates page](https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.CertificateRegistration%2FcertificateOrders), select the certificate.
248
248
249
-
1. On the left menu, select **Overview** > **Delete**.
249
+
1. On the left pane, select **Overview** > **Delete**.
250
250
251
251
1. When the confirmation box opens, enter the certificate name, and then select **OK**.
252
252
253
253
## Frequently asked questions
254
254
255
-
#### My App Service certificate doesn't have any value in Key Vault
255
+
#### Why doesn't my App Service certificate have a value in Key Vault?
256
256
257
-
Your App Service certificate is probably not yet domain-verified. Until [domain ownership is confirmed](#confirm-domain-ownership), your App Service certificate isn't ready for use. As a Key Vault secret, it maintains an `Initialize` tag, and its value and content-type remain empty. When domain ownership is confirmed, the key vault secret shows a value and a content-type, and the tag changes to `Ready`.
257
+
Your App Service certificate is probably not yet domainverified. Until [domain ownership is confirmed](#confirm-domain-ownership), your App Service certificate isn't ready for use. As a key vault secret, it maintains an `Initialize` tag, and its value and contenttype remain empty. When domain ownership is confirmed, the key vault secret shows a value and a contenttype, and the tag changes to `Ready`.
258
258
259
-
#### I can't export my App Service certificate with PowerShell
259
+
#### Why can't I export my App Service certificate with PowerShell?
260
260
261
-
Your App Service certificate is probably not yet domain-verified. Until [domain ownership is confirmed](#confirm-domain-ownership), your App Service certificate isn't ready for use.
261
+
Your App Service certificate is probably not yet domainverified. Until [domain ownership is confirmed](#confirm-domain-ownership), your App Service certificate isn't ready for use.
262
262
263
263
#### What changes does the App Service certificate creation process make to my existing key vault?
- Creates a [delete lock](../azure-resource-manager/management/lock-resources.md) called `AppServiceCertificateLock` on the vault to prevent accidental deletion of the key vault.
0 commit comments