Skip to content

Commit 47dfd9b

Browse files
Merge pull request #2 from Vyshnavi-MSFT/feature/ssl-policy-improvements
Doc-a-thon app gateway Improve SSL policy documentation with technical accuracy and clarity
2 parents fc985d5 + 1191828 commit 47dfd9b

File tree

4 files changed

+87
-47
lines changed

4 files changed

+87
-47
lines changed

articles/application-gateway/application-gateway-configure-listener-specific-ssl-policy.md

Lines changed: 51 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,78 +5,103 @@ services: application-gateway
55
author: mbender-ms
66
ms.service: azure-application-gateway
77
ms.topic: how-to
8-
ms.date: 02/18/2022
8+
ms.date: 07/09/2025
99
ms.author: mbender
1010
# Customer intent: As a cloud administrator, I want to configure listener-specific SSL policies on my Application Gateway, so that I can enhance security and performance by applying different SSL settings for each listener based on my application requirements.
1111
---
1212

1313
# Configure listener-specific SSL policies on Application Gateway through portal
1414

15-
This article describes how to use the Azure portal to configure listener-specific SSL policies on your Application Gateway. Listener-specific SSL policies allow you to configure specific listeners to use different SSL policies from each other. You'll still be able to set a default SSL policy that all listeners will use unless overwritten by the listener-specific SSL policy.
15+
This article describes how to use the Azure portal to configure listener-specific SSL policies on your Azure Application Gateway. Listener-specific SSL policies allow you to configure specific listeners to use different SSL policies from each other. You can still set a default SSL policy that all listeners use unless overridden by the listener-specific SSL policy.
1616

1717
> [!NOTE]
18-
> Only Standard_v2 and WAF_v2 SKUs support listener specific policies as listener specific policies are part of SSL profiles, and SSL profiles are only supported on v2 gateways.
18+
> Only Standard_v2 and WAF_v2 SKUs support listener-specific policies. Listener-specific policies are part of SSL profiles, and SSL profiles are only supported on v2 Application Gateways.
1919
2020

2121

22-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
22+
## Prerequisites
23+
24+
Before you begin, ensure you have:
25+
26+
- An Azure subscription. If you don't have one, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
27+
- An existing Azure Application Gateway (Standard_v2 or WAF_v2 SKU)
28+
- Appropriate permissions to modify Application Gateway configurations
2329

2430
## Create a new Application Gateway
2531

26-
First create a new Application Gateway as you would usually through the portal - there are no additional steps needed in the creation to configure listener-specific SSL policies. For more information on how to create an Application Gateway in portal, check out our [portal quickstart tutorial](./quick-create-portal.md).
32+
First, create a new Application Gateway as you would normally through the portal. There are no more steps needed during creation to configure listener-specific SSL policies. For more information on how to create an Application Gateway in the portal, see the [portal quickstart tutorial](./quick-create-portal.md).
2733

2834
## Set up a listener-specific SSL policy
2935

30-
Before you proceed, here are some important points related to listener-specific SSL policy.
36+
Before you proceed, here are some important considerations for listener-specific SSL policies:
3137

32-
- We recommend using TLS 1.2 as this version will be mandated in the future.
33-
- You don't have to configure client authentication on an SSL profile to associate it to a listener. You can have only client authentication or listener-specific SSL policy configured, or both configured in your SSL profile.
34-
- Using a [2022 Predefined](./application-gateway-ssl-policy-overview.md#predefined-tls-policy) or Customv2 policy enhances SSL security and performance for the entire gateway (SSL Policy and SSL Profile). Therefore, you cannot have different listeners on both old as well as new SSL (predefined or custom) policies.
38+
- We recommend using TLS 1.2 or higher
39+
- You don't need to configure client authentication on an SSL profile to associate it with a listener. You can configure only client authentication, only listener-specific SSL policy, or both in your SSL profile.
40+
- Use a [2022 Predefined](./application-gateway-ssl-policy-overview.md#predefined-tls-policy) or Custom v2 policy, enhances SSL security and performance for the entire Application Gateway (SSL Policy and SSL Profile). Therefore, you can't have different listeners using both legacy and new SSL policies simultaneously.
3541

36-
Consider this example, you're currently using SSL Policy and SSL Profile with "older" policies/ciphers. To use a "new" Predefined or Customv2 policy for any one of them will also require you to upgrade the other configuration. You may use the new predefined policies, or customv2 policy, or combination of these across the gateway.
42+
**Example scenario**: If you're currently using SSL Policy and SSL Profile with "legacy" policies/ciphers, upgrading to a "new" Predefined or Custom v2 policy for any component requires upgrading the other configuration as well. You can use the new predefined policies, Custom v2 policy, or a combination.
3743

38-
To set up a listener-specific SSL policy, you'll need to first go to the **SSL settings** tab in the Portal and create a new SSL profile. When you create an SSL profile, you'll see two tabs: **Client Authentication** and **SSL Policy**. The **SSL Policy** tab is to configure a listener-specific SSL policy. The **Client Authentication** tab is where to upload a client certificate(s) for mutual authentication - for more information, check out [Configuring a mutual authentication](./mutual-authentication-portal.md).
44+
To set up a listener-specific SSL policy, you need to first go to the **SSL settings** tab in the Azure portal and create a new SSL profile. When you create an SSL profile, you see two tabs: **Client Authentication** and **SSL Policy**. The **SSL Policy** tab is used to configure a listener-specific SSL policy. The **Client Authentication** tab is where you upload client certificates for mutual authentication. For more information, see [Configuring mutual authentication](./mutual-authentication-portal.md).
3945

40-
1. Search for **Application Gateway** in portal, select **Application gateways**, and click on your existing Application Gateway.
46+
1. Search for **Application Gateway** in the portal, select **Application gateways**, and select your existing Application Gateway.
4147

4248
2. Select **SSL settings** from the left-side menu.
4349

44-
3. Click on the plus sign next to **SSL Profiles** at the top to create a new SSL profile.
50+
3. Select the plus sign next to **SSL Profiles** at the top to create a new SSL profile.
4551

46-
4. Enter a name under **SSL Profile Name**. In this example, we call our SSL profile *applicationGatewaySSLProfile*.
52+
4. Enter a name under **SSL Profile Name**. In this example, we name our SSL profile *applicationGatewaySSLProfile*.
4753

48-
5. Go to the **SSL Policy** tab and check the **Enable listener-specific SSL Policy** box.
54+
5. Go to the **SSL Policy** tab and check the **Enable listener-specific SSL Policy** checkbox.
4955

50-
6. Set up your listener-specific SSL policy given your requirements. You can choose between predefined SSL policies and customizing your own SSL policy. For more information on SSL policies, visit [SSL policy overview](./application-gateway-ssl-policy-overview.md). We recommend using TLS 1.2
56+
6. Configure your listener-specific SSL policy according to your requirements. You can choose between predefined SSL policies and customizing your own SSL policy. For more information on SSL policies, see [SSL policy overview](./application-gateway-ssl-policy-overview.md). We recommend using TLS 1.2 or higher.
57+
58+
> [!NOTE]
59+
> This policy is the latest version of the SSL policy available, which is recommended to ensure the best SSL security. If your gateway is configured to handle older traffic, you may need to choose an older policy to ensure that all traffic is handled correctly.
5160
5261
7. Select **Add** to save.
5362

5463
![Add listener specific SSL policy to SSL profile](./media/application-gateway-configure-listener-specific-ssl-policy/listener-specific-ssl-policy-ssl-profile.png)
5564

5665
## Associate the SSL profile with a listener
5766

58-
Now that we've created an SSL profile with a listener-specific SSL policy, we need to associate the SSL profile to the listener to put the listener-specific policy in action.
67+
Now you created an SSL profile with a listener-specific SSL policy. You need to associate the SSL profile with the listener to activate the listener-specific policy.
5968

60-
1. Navigate to your existing Application Gateway. If you just completed the steps above, you don't need to do anything here.
69+
1. Navigate to your existing Application Gateway.
6170

6271
2. Select **Listeners** from the left-side menu.
6372

64-
3. Click on **Add listener** if you don't already have an HTTPS listener set up. If you already have an HTTPS listener, click on it from the list.
73+
3. Select on **Add listener** if you don't already have an HTTPS listener set up. If you already have an HTTPS listener, Select on it from the list.
74+
75+
4. Fill out the **Listener name**, **Frontend IP**, **Port**, and other HTTPS Settings to fit your requirements.
6576

66-
4. Fill out the **Listener name**, **Frontend IP**, **Port**, **Protocol**, and other **HTTPS Settings** to fit your requirements.
77+
5. Select Add to save your new listener with the SSL profile associated to it.
6778

68-
5. Check the **Enable SSL Profile** checkbox so that you can select which SSL Profile to associate with the listener.
79+
6. Check to see **SSL Policy** is correct or select **Change** for choose another SSL Policy. The options available include:
80+
- Default
81+
- Predefined
82+
- Custom
83+
- CustomV2
84+
Select the SSL profile you created from the dropdown list. In this example, we choose the SSL profile created in the earlier steps: *applicationGatewaySSLProfile*.
6985

70-
6. Select the SSL profile you created from the dropdown list. In this example, we choose the SSL profile we created from the earlier steps: *applicationGatewaySSLProfile*.
86+
7. Select on tab **Listener TLS Certificates** on the second tab.
7187

72-
7. Continue configuring the remainder of the listener to fit your requirements.
88+
8. Select **+ Add Certificate**
7389

74-
8. Click **Add** to save your new listener with the SSL profile associated to it.
90+
9. Fill out the **Certificate name**, **PFX Certificate File**, **Type** , and other **Password** to fit your requirements.
7591

76-
![Associate SSL profile to new listener](./media/mutual-authentication-portal/mutual-authentication-listener-portal.png)
92+
10. Select **Add** to save your new listener TLS Certificate with the SSL profile associated to it.
93+
94+
11. Continue configuring the remainder of the listener according to your requirements.
95+
96+
![Associate SSL profile to new listener](./media/mutual-authentication-portal/listener-certificate.png)
7797

7898
### Limitations
79-
There is a limitation right now on Application Gateway that different listeners using the same port cannot have SSL policies (predefined or custom) with different TLS protocol versions. Choosing the same TLS version for different listeners will work for configuring cipher suite preference for each listener. However, to use different TLS protocol versions for separate listeners, you will need to use distinct ports for each.
99+
100+
There are current limitations with Azure Application Gateway regarding SSL policies:
101+
102+
- Different listeners using the same port can't have SSL policies (predefined or custom) with different TLS protocol versions.
103+
- Configuring the same TLS version for different listeners works for setting cipher suite preferences for each listener.
104+
- To use different TLS protocol versions for separate listeners, you must use distinct ports for each listener.
80105

81106
## Next steps
82107

67.5 KB
Loading

0 commit comments

Comments
 (0)