Other Articles

App Service – Enforce Latest TLS Version

This check ensures that Azure Web Applications enforce the latest TLS version to maintain strong encryption and secure communications.

Check Details

  • Resource: Azure App Service (Web App)
  • Check: Ensure Latest TLS Version Is Enforced
  • Risk: Allowing older TLS versions may expose web applications to known vulnerabilities and downgrade attacks, potentially leading to data compromise.

Remediation via Azure Portal

  1. Log in to the Azure Portal. Azure Portal dashboard
  2. Navigate to App Services and select the affected Web App. Azure App Services list
  3. In the left-hand menu, select Configuration. Web App configuration menu
  4. Under the General settings tab, locate Minimum TLS Version.
  5. Set Minimum TLS Version to 1.3. Minimum TLS version setting
  6. Click Save to apply the configuration.

Remediation via Azure CLI

  1. Open Azure Cloud Shell or a local terminal with Azure CLI installed. Azure Cloud Shell
  2. Set the minimum TLS version to 1.3:

    az webapp config set \
     --resource-group <resource-group> \
     --name <web-app-name> \
     --min-tls-version 1.3
    
  3. Verify the configured TLS version:

    az webapp config show \
     --resource-group <resource-group> \
     --name <web-app-name> \
     --query minTlsVersion
    

Replace <resource-group> and <web-app-name> with your actual values.