Listener TLS certificate management in Application Gateway (2024)

  • Article

Listener TLS/SSL certificates in Application Gateway are used for terminating client TLS connection at the gateway. This function is analogous to uploading a certificate on a web server to support TLS/HTTPS connections from clients/browsers.

TLS Certificate structure

The TLS/SSL certificates on application gateway are stored in local certificate objects or containers. This certificate container’s reference is then supplied to listeners to support TLS connections for clients. Refer to this illustration for better understanding.

Listener TLS certificate management in Application Gateway (1)

Here is a sample application gateway configuration. The SSLCertificates property includes certificate object “contoso-agw-cert" linked to a key vault. The “listener1” references that certificate object.

Understanding the portal section

Listener SSL certificates

This section allows you to list all the SSL certificate objects that are present on your application gateway. This view is equivalent of running PowerShell command Get-AzApplicationGatewaySslCertificate -ApplicationGateway $AppGW or CLI command az network application-gateway ssl-cert list --gateway-name --resource-group.

Listener TLS certificate management in Application Gateway (2)

This page gives you a quick summary of all the certificates, their types and association with listeners.

SSL Certificate types

  1. Key Vault: You can store your PFX certificate(s) in Azure Key Vault, which is a managed certificate storage service allowing tight access controls and much more. Learn about integration with Key Vault.

  2. Uploaded: Provide a PFX certificate directly to your application gateway. Requires certificate password as well.

Modifying an SSL certificate

From the list view, you can select the certificate name or three-dot menu option to navigate to the Edit page. The edit option is helpful for the following use cases.

  • Changing the key vault association of a certificate – You can change a certificate’s reference from one key vault resource to another. When doing so, ensure the User-Assigned Managed Identity of your application gateway has sufficient access controls on the new key vault.

  • Renewal of an uploaded certificate – When an existing uploaded certificate is due for renewal, you can upload a new PFX file to the existing certificate object of your application gateway.

  • Changing the certificate type from "key vault" to "uploaded" (or vice-versa) – You can easily transition your certificate provision from the one stored on your Application Gateway to the purpose-built Key Vault service.

Note

A change in certificate associated with multiple listeners would reflect on all the listeners. You can view the individual listener information to identify the related listeners.

Deletion of an SSL certificate

There are two primary scenarios when deleting a certificate from portal:

  1. SSL certificate without any listener association – Such certificates aren't in use by any listener and can be deleted directly.
  2. SSL certificate with an associated listener – Based on your application gateway’s configuration, these sub resources could be affected.
Sub resourceImpact
CertificateThe certificate itself gets deleted.
ListenerThe listener gets deleted if a certificate is associated with it.
RuleIf a rule is associated with a listener, the listener and the rule are deleted.
RedirectionIf a redirection is configured with a rule, the associated redirection is also removed.
PortThe port associated with the listener gets updated to reflect the new state.
Frontend IPThe frontend IP of the gateway gets updated to reflect the new state.

Bulk update

The bulk operation feature is helpful for large gateways having multiple SSL certificates for separate listeners. Similar to individual certificate management, this option also allows you to change the type from "Uploaded" to "Key Vault" or vice-versa (if required). This utility is also helpful in recovering a gateway when facing misconfigurations for multiple certificate objects simultaneously.

To use the Bulk update option,

  1. Choose the certificates to be updated using the checkboxes and select the "Bulk update" menu option.

  2. On the next page, you can modify the settings for each certificate as needed. Based on your selection in Step 1, you will see different options for Step 2 and Step 3. Thus, it would be best to go step by step for each certificate row. The certificates you see here will be as per your selection. You may use the three-dot menu option to remove a wrongly selected certificate from the list.

  3. Once all the settings are updated, select Save.

Note

Be aware of the listeners associated with each certificate when making a bulk change. Depending on your configuration, this single operation could update multiple certificates and many more listeners. Refer to the individual certificate information blade to identify the related listeners.

Caveats

  1. You can't delete a certificate object if its associated listener is a redirection target for another listener. Any attempt to do so will return the following error. You can either remove the redirection or delete the dependent listener first to resolve this problem.The listener associated with this certificate is configured as the redirection target for another listener. You will need to either remove this redirection or delete the redirected listener first to allow deletion of this certificate.

  2. The Application Gateway requires at least one active Listener and Rule combination. You thus cannot delete the certificate of a HTTPS listener, if no other active listener exists. This is also true if there are only HTTPS listeners on your gateway, and all of them are referencing the same certificate. Such operations are prevented because deletion of a certificate leads to deletion of all dependent sub resources.

Next steps

Read about

  • Using Key Vault with Application Gateway
Listener TLS certificate management in Application Gateway (2024)
Top Articles
The Best ETFs for the Shanghai Composite Index
How to Invest $10,000: A Step-by-Step Guide - NerdWallet
WALB Locker Room Report Week 5 2024
Where are the Best Boxing Gyms in the UK? - JD Sports
Acts 16 Nkjv
Notary Ups Hours
GAY (and stinky) DOGS [scat] by Entomb
Xrarse
Learn How to Use X (formerly Twitter) in 15 Minutes or Less
Caroline Cps.powerschool.com
South Bend Tribune Online
Everything You Need to Know About Holly by Stephen King
Gma Deals And Steals Today 2022
2021 Lexus IS for sale - Richardson, TX - craigslist
Chile Crunch Original
Uc Santa Cruz Events
Equipamentos Hospitalares Diversos (Lote 98)
Cambridge Assessor Database
Delaware Skip The Games
Doublelist Paducah Ky
Okc Body Rub
Synergy Grand Rapids Public Schools
Mikayla Campinos: Unveiling The Truth Behind The Leaked Content
Cor Triatriatum: Background, Pathophysiology, Epidemiology
Keshi with Mac Ayres and Starfall (Rescheduled from 11/1/2024) (POSTPONED) Tickets Thu, Nov 1, 2029 8:00 pm at Pechanga Arena - San Diego in San Diego, CA
Kuttymovies. Com
60 Second Burger Run Unblocked
Springfield.craigslist
Average weekly earnings in Great Britain
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
Hattie Bartons Brownie Recipe
Santa Cruz California Craigslist
Hannibal Mo Craigslist Pets
Fototour verlassener Fliegerhorst Schönwald [Lost Place Brandenburg]
The Holdovers Showtimes Near Regal Huebner Oaks
Infinite Campus Parent Portal Hall County
Clima De 10 Días Para 60120
Ethan Cutkosky co*ck
Despacito Justin Bieber Lyrics
Tableaux, mobilier et objets d'art
Fairbanks Auto Repair - University Chevron
Ts In Baton Rouge
What is a lifetime maximum benefit? | healthinsurance.org
John Wick: Kapitel 4 (2023)
Craigslist Anc Ak
What Time Do Papa John's Pizza Close
Call2Recycle Sites At The Home Depot
Dmv Kiosk Bakersfield
Palmyra Authentic Mediterranean Cuisine مطعم أبو سمرة
Inloggen bij AH Sam - E-Overheid
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 6755

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.