Search code examples
azureazure-web-app-servicetls1.2azure-application-gatewayazure-app-service-envrmnt

How to remove weak ciphers from TLS 1.2 configuration on Azure App Service?


Our Security team reported usage of weak Cipher in our application as seen below, I would like to remove them, any help or guidance is appreciated:

enter image description here


Solution

  • For now, there are 3 possible ways to remove weak ciphers:

    1. App Service Environment - This gives you access to set your own ciphers though Azure Resource Manager - Change TLS Cipher Suite Order. I reproduced this and found out that it is possible to set your own ciphers or change the cipher suite order by modifying the clusterSettings as shown below:cluster settings

    2. Using Azure FrontDoor – You can configure a minimum TLS version in Azure Front Door in the custom domain HTTPS settings via Azure portal. Once you configure TLS1.2, only the following strong cipher suites are supported:

      TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

      TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

      TLS_DHE_RSA_WITH_AES_256_GCM_SHA384

      TLS_DHE_RSA_WITH_AES_128_GCM_SHA256

      You can find more information on this here - Front Door TLS Configuration.

    3. Using Application Gateway – This lets you specify a central TLS policy that's suited to organizational security requirements and helps to meet compliance requirements. The TLS policy includes control of the TLS protocol version as well as the cipher suites and the order in which ciphers are used during a TLS handshake as seen here - Application Gateway SSL Policy Overview.