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-bindings.md
+25-43Lines changed: 25 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Secure HTTPS access to your custom domain by creating a TLS/SSL bin
4
4
tags: buy-ssl-certificates
5
5
6
6
ms.topic: article
7
-
ms.date: 04/27/2022
7
+
ms.date: 04/20/2023
8
8
ms.reviewer: yutlin
9
9
ms.custom: seodec18
10
10
---
@@ -14,70 +14,52 @@ This article shows you how to secure the [custom domain](app-service-web-tutoria
14
14
15
15

16
16
17
-
Securing a [custom domain](app-service-web-tutorial-custom-domain.md) with a certificate involves two steps:
18
-
19
-
-[Add a private certificate to App Service](configure-ssl-certificate.md) that satisfies all the [private certificate requirements](configure-ssl-certificate.md#private-certificate-requirements).
20
-
- Create a TLS binding to the corresponding custom domain. This second step is covered by this article.
21
-
22
17
## Prerequisites
23
18
24
19
To follow this how-to guide:
25
20
26
-
-[Create an App Service app](./index.yml)
27
-
-[Map a domain name to your app](app-service-web-tutorial-custom-domain.md) or [buy and configure it in Azure](manage-custom-dns-buy-domain.md)
28
-
-[Add a private certificate to your app](configure-ssl-certificate.md)
29
-
30
-
> [!NOTE]
31
-
> The easiest way to add a private certificate is to [create a free App Service managed certificate with your custom domain](tutorial-secure-domain-certificate.md).
32
-
33
-
34
-
[!INCLUDE [Prepare your web app](../../includes/app-service-ssl-prepare-app.md)]
21
+
-[Scale up your App Service app](manage-scale-up.md) to one of the supported pricing tiers: **Basic**, **Standard**, **Premium**.
22
+
-[Map a domain name to your app](app-service-web-tutorial-custom-domain.md) or [buy and configure it in Azure](manage-custom-dns-buy-domain.md).
35
23
36
24
<aname="upload"></a>
37
25
38
-
## Secure a custom domain
26
+
## 1. Add the binding
39
27
40
-
Do the following steps:
28
+
In the <ahref="https://portal.azure.com"target="_blank">Azure portal</a>:
41
29
42
-
In the <ahref="https://portal.azure.com"target="_blank">Azure portal</a>, from the left menu, select **App Services** > **\<app-name>**.
30
+
1. From the left menu, select **App Services** > **\<app-name>**.
43
31
44
-
From the left navigation of your app, start the **TLS/SSL Binding** dialog by:
32
+
1.From the left navigation of your app, select **Custom domains**
1. Next to the custom domain, select **Add binding**
48
35
49
-

36
+
:::image type="content" source="media/configure-ssl-bindings/secure-domain-launch.png" alt-text="A screenshot showing how to launch the Add TLS/SSL Binding dialog.":::
50
37
51
-
In **Custom Domain**, select the custom domain you want to add a binding for.
52
-
53
-
If your app already has a certificate for the selected custom domain, go to [Create binding](#create-binding) directly. Otherwise, keep going.
54
-
55
-
### Add a certificate for custom domain
56
-
57
-
If your app has no certificate for the selected custom domain, then you have two options:
58
-
59
-
-**Upload PFX Certificate** - Follow the workflow at [Upload a private certificate](configure-ssl-certificate.md#upload-a-private-certificate), then select this option here.
60
-
-**Import App Service Certificate** - Follow the workflow at [Import an App Service certificate](configure-ssl-certificate.md#buy-and-import-app-service-certificate), then select this option here.
61
-
62
-
> [!NOTE]
63
-
> You can also [Create a free certificate](configure-ssl-certificate.md#create-a-free-managed-certificate) or [Import a Key Vault certificate](configure-ssl-certificate.md#import-a-certificate-from-key-vault), but you must do it separately and then return to the **TLS/SSL Binding** dialog.
38
+
1. If your app already has a certificate for the selected custom domain, you can select it in **Certificate**. If not, you must add a certificate using one of the selections in **Source**.
64
39
65
-
### Create binding
40
+
-**Create App Service Managed Certificate** - Let App Service create a managed certificate for your selected domain. This option is the simplest. For more information, see [Create a free managed certificate](configure-ssl-certificate.md#create-a-free-managed-certificate).
41
+
-**Import App Service Certificate** - In **App Service Certificate**, choose an App Service certificate you've purchased for your selected domain. To purchase an App Service certificate, see [Import an App Service certificate](configure-ssl-certificate.md#buy-and-import-app-service-certificate).
42
+
-**Upload certificate (.pfx)** - Follow the workflow at [Upload a private certificate](configure-ssl-certificate.md#upload-a-private-certificate) to upload a PFX certificate from your local machine and specify the cetificate password.
43
+
-**Import from Key Vault** - Click **Select key vault certificate** and select the certificate in the dialog.
66
44
67
-
Use the following table to help you configure the TLS binding in the **TLS/SSL Binding** dialog, then click**Add Binding**.
45
+
1. In **TLS/SSL type**, choose between**SNI SSL** and **IP based SSL**.
> A **Secure** state in the **Custom domains** means that it is secured with a certificate, but App Service doesn't check if the certificate is self-signed or expired, for example, which can also cause browsers to show an error or warning.
77
59
78
-
## Remap records for IP SSL
60
+
## 2. Remap records for IP based SSL
79
61
80
-
If you don't use IP SSL in your app, skip to [Test HTTPS for your custom domain](#test-https).
62
+
This step is needed only for IP based SSL. For an SNI SSL binding, skip to [Test HTTPS for your custom domain](#3-test-https).
81
63
82
64
There are two changes you need to make, potentially:
83
65
@@ -87,7 +69,7 @@ There are two changes you need to make, potentially:
87
69
88
70
- If you have an SNI SSL binding to `<app-name>.azurewebsites.net`, [remap any CNAME mapping](app-service-web-tutorial-custom-domain.md#2-create-the-dns-records) to point to `sni.<app-name>.azurewebsites.net` instead (add the `sni` prefix).
89
71
90
-
## Test HTTPS
72
+
## 3. Test HTTPS
91
73
92
74
In various browsers, browse to `https://<your.custom.domain>` to verify that it serves up your app.
Copy file name to clipboardExpand all lines: includes/app-service-ssl-prepare-app.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,19 +34,13 @@ To create custom TLS/SSL bindings or enable client certificates for your App Ser
34
34
35
35
1. Make sure that your web app isn't in the **F1** or **D1** tier, which doesn't support custom TLS/SSL.
36
36
37
-
Your web app's current tier is highlighted by a dark blue box.
38
-
39
-

40
-
41
37
1. If you need to scale up, follow the steps in the next section. Otherwise, close the **Scale up** page, and skip the [Scale up your App Service plan section](#scale-up-your-app-service-plan).
42
38
43
39
### Scale up your App Service plan
44
40
45
-
1. Select any non-free tier, such as **B1**, **B2**, **B3**, or any other tier in the **Production** category. For more options, select **See additional options**.
46
-
47
-
1. When you're done, select **Apply**.
41
+
1. Select any non-free tier, such as **B1**, **B2**, **B3**, or any other tier in the **Production** category.
48
42
49
-

43
+
1. When you're done, select **Select**.
50
44
51
45
When the following message appears, the scale operation has completed.
0 commit comments