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/troubleshoot-domain-ssl-certificates.md
+21-20Lines changed: 21 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,6 @@ This problem might happen if you have multiple IP-based TLS/SSL bindings for the
36
36
To resolve this problem, try one of the following methods:
37
37
38
38
* Delete the IP-based TLS/SSL binding on the app that uses the old certificate.
39
-
40
39
* Create a new IP-based TLS/SSL binding that uses the new certificate.
41
40
42
41
### You can't delete a certificate
@@ -114,9 +113,9 @@ The key vault used to store the App Service certificate is missing access policy
114
113
To modify the access policies for the key vault, follow these steps:
115
114
116
115
1. Sign in to the Azure portal. Select the key vault used by your App Service certificate. Go to Access policies.</li>
117
-
2. If you don't see the two Service Principals listed, you need to add them. If they're available, verify that the permissions include the recommended secret and certificate permissions.</li>
118
-
3. Add a Service Principal by selecting **Create**. Then select the needed permissions for Secret and Certificate permissions.</li>
119
-
4. For the Service Principal, enter the values that you previously obtained from the search box. Then, select the Service Principal.</li>
116
+
2. If you don't see the two service principals listed, you need to add them. If they're available, verify that the permissions include the recommended secret and certificate permissions.</li>
117
+
3. Add a service principal by selecting **Create**. Then select the needed permissions for Secret and Certificate permissions.</li>
118
+
4. For the service principal, enter the values that you previously obtained from the search box. Then, select the service principal.</li>
120
119
121
120
#### Cause 2: The app service hasn't synced with the new certificate
122
121
@@ -128,13 +127,13 @@ To force a sync for the certificate, follow these steps:
128
127
129
128
1. Sign in to the [Azure portal](https://portal.azure.com). Select **App Service Certificates**, and then select the certificate.</li>
130
129
2. Select **Rekey and Sync**, and then select **Sync**. The sync takes some time to finish.</li>
131
-
3. When the sync completes, the following notification appears: "Successfully updated all the resources with the latest certificate."</li>
130
+
3. When the sync finishes, the following notification appears: "Successfully updated all the resources with the latest certificate."</li>
132
131
133
-
### An App Service is showing the wrong certificate
132
+
### App Service is showing the wrong certificate
134
133
135
134
#### Symptom
136
135
137
-
When browsing the App Service, it's presenting the wrong certificate.
136
+
When you're browsing App Service, it's presenting the wrong certificate.
138
137
139
138
#### Cause
140
139
@@ -161,7 +160,7 @@ Your configured custom domain is missing a `CNAME record` or an `A record`.
161
160
**Solution for cause 1**
162
161
163
162
* If you added an `A record`, make sure that a `TXT record` is also added. For more information, see [Create the DNS records](./app-service-web-tutorial-custom-domain.md#create-the-dns-records).
164
-
* If you don't have to use the root domain for your app, we recommend that you use a `CNAME record`, rather than an `A record`.
163
+
* If you don't have to use the root domain for your app, we recommend that you use a `CNAME record` rather than an `A record`.
165
164
* Don't use both a `CNAME record` and an `A record` for the same domain. This issue can cause a conflict and prevent domain resolution.
166
165
167
166
**Cause 2**
@@ -181,7 +180,7 @@ You can't add a new host name to an app to assign a subdomain.
181
180
#### Solution
182
181
183
182
* Make sure that you have permissions to add a host name to an app by checking with the subscription administrator.
184
-
* If you need more subdomains, we recommend that you change the domain hosting to Azure Domain Name Service (DNS). By using Azure DNS, you can add 500 host names to your app. For more information, see [Add a subdomain](/archive/blogs/waws/mapping-a-custom-subdomain-to-an-azure-website).
183
+
* If you need more subdomains, we recommend that you change the domain hosting to Azure DNS. By using Azure DNS, you can add 500 host names to your app. For more information, see [Add a subdomain](/archive/blogs/waws/mapping-a-custom-subdomain-to-an-azure-website).
185
184
186
185
### DNS can't be resolved
187
186
@@ -193,8 +192,7 @@ You received the following error message: "The DNS record could not be located."
193
192
194
193
This problem happens for one of the following reasons:
195
194
196
-
* The time-to-live (TTL) period hasn't expired. To determine the TTL value, check your domain's DNS configuration, and wait for the period to expire.
197
-
195
+
* The time-to-live (TTL) period hasn't expired. To determine the TTL value, check your domain's DNS configuration and wait for the period to expire.
198
196
* The DNS configuration is incorrect.
199
197
200
198
#### Solution
@@ -241,7 +239,7 @@ The App Service certificate requires domain verification before the certificate
241
239
242
240
Manually verify your domain by adding a `TXT record`:
243
241
244
-
1. Go to the Domain Name Service (DNS) provider that hosts your domain name.
242
+
1. Go to the DNS provider that hosts your domain name.
245
243
246
244
1. Add a `TXT record` for your domain that uses the value of the domain token from the Azure portal.
247
245
@@ -259,7 +257,6 @@ For example, if you're buying a standard certificate for azure.com with the doma
259
257
260
258
> [!IMPORTANT]
261
259
> A certificate purchase has 15 days only to complete the domain verification operation. After 15 days, the CA denies the certificate, and you're not charged for the certificate. In this situation, delete this certificate and try again.
262
-
>
263
260
264
261
### You can't purchase a domain
265
262
@@ -315,7 +312,7 @@ This problem happens for one of the following reasons:
315
312
316
313
**Do I have to configure my custom domain for my website when I buy it?**
317
314
318
-
When you purchase a domain from the Azure portal, the App Service app is automatically configured to use that custom domain. You don’t have to take any further steps. For more information, watch Azure App Service Self Help: Add a Custom Domain Name on Channel9.
315
+
When you purchase a domain from the Azure portal, the App Service app is automatically configured to use that custom domain. You don't have to take any further steps. For more information, watch Azure App Service Self Help: Add a Custom Domain Name on Channel9.
319
316
320
317
**Can I use a domain purchased in the Azure portal to point to an Azure virtual machine instead?**
321
318
@@ -357,9 +354,9 @@ Yes, when you access the **Custom domains** and **Certificates** pages in the Az
357
354
358
355
Yes, you can move a domain to another subscription or resource group by using the [`Move-AzResource`](/powershell/module/az.Resources/Move-azResource) PowerShell cmdlet.
359
356
360
-
**How can I manage my custom domain if I don’t currently have an Azure App Service app?**
357
+
**How can I manage my custom domain if I don't currently have an Azure App Service app?**
361
358
362
-
You can manage your domain even if you don't have an App Service web app. You can use the domain for Azure services such as virtual machines, Azure Storage, and so on. If you plan to use the domain for App Service web apps, you must include a web app that's not on a free App Service tier so that you can bind the domain to your web app.
359
+
You can manage your domain even if you don't have an App Service web app. You can use the domain for Azure services such as Azure Virtual Machines, Azure Storage, and so on. If you plan to use the domain for App Service web apps, you must include a web app that's not on a free App Service tier so that you can bind the domain to your web app.
363
360
364
361
**Can I move a web app with a custom domain to another subscription or from App Service Environment v1 to V2?**
365
362
@@ -369,12 +366,16 @@ After you move a web app, the host name bindings of the domains within the custo
369
366
370
367
**What file formats are returned when I download my App Service certificate from its key vault?**
371
368
372
-
When you select "Download as a certificate" for the App Service certificate under its key vault/secrets, the certificate file format is .pfx. No password is applied to the file.
369
+
When you select **Download as a certificate** for the App Service certificate under its key vault/secrets, the certificate file format is .pfx. No password is applied to the file.
370
+
371
+
**What file format can I use to upload a certificate to App Service?**
372
+
373
+
The certificate file format must be a .pfx file with a password applied to the file. The certificate must also meet the [certificate requirements](../app-service/configure-ssl-certificate.md#private-certificate-requirements).
373
374
374
-
**What file format can I use to upload a certificate to my App Service?**
375
+
If you obtained your certificate from a third-party CA and the file format is a .pem/.key format, you can use a tool like OpenSSL to convert the files to a .pfx file format. The private key must be included during the conversion because the .pfx file format requires it.
375
376
376
-
The certificate file format must be a .pfx file with a password applied to the file. The certificate must also meet the certificate requirements mentioned [here](../app-service/configure-ssl-certificate.md#private-certificate-requirements). If you obtained your certificate from a third party CA and the file format is a .pem/.key format, you can use a tool like OpenSSL to convert the files to a .pfx file format. The private key must be included during the conversion because the .pfx file format requires it. Also, if your CA gives you multiple certificates in the certificate chain, you have to merge the certificates following the same order. For more information, please see [here](../app-service/configure-ssl-certificate.md#merge-intermediate-certificates).
377
+
Also, if your CA gives you multiple certificates in the certificate chain, you have to merge the certificates by following the same order. For more information, see [Merge intermediate certificates](../app-service/configure-ssl-certificate.md#merge-intermediate-certificates).
377
378
378
379
**How do I generate a certificate-signing request for an App Service certificate?**
379
380
380
-
For an App Service certificate, you purchase through the Azure portal or by using a Powershell/CLI command. A certificate-signing request isn't needed. However, Azure Key Vault supports storing digital certificates issued by any CA. It supports creating a certificate-signing request with a private/public key pair. The certificate-signing request can be signed by any CA (an internal enterprise CA or an external public CA). For more information, please see [Create a certificate-signing request](/azure/key-vault/certificates/create-certificate-signing-request).
381
+
For an App Service certificate, you purchase through the Azure portal or by using a Powershell/CLI command. A certificate-signing request isn't needed. However, Azure Key Vault supports storing digital certificates issued by any CA. It supports creating a certificate-signing request with a private/public key pair. The certificate-signing request can be signed by any CA (an internal enterprise CA or an external public CA). For more information, see [Create a certificate-signing request](/azure/key-vault/certificates/create-certificate-signing-request).
0 commit comments