How to force the use of TLS 1.3 in the App Service(Azure)?

Santos Reyes 20 Reputation points
2024-04-20T01:54:29.4166667+00:00

User's image

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,900 questions
{count} votes

Accepted answer
  1. TP 76,601 Reputation points
    2024-04-20T03:14:12.9266667+00:00

    Hi,

    You can't set it via the portal (not yet, coming soon), but you can using powershell commands in Azure Cloud Shell, see sample below:

    $webapp = Get-AzWebApp -Name myWebApp -ResourceGroupName myResourceGroup                                            
    $webapp.SiteConfig.minTlsVersion = 1.3                                                                      
    $webapp|Set-AzWebApp
    

    After making the change you may verify minimum TLS using below:

    https://www.ssllabs.com/ssltest/analyze.html

    Once the test is complete, scroll down to Configuration section of the results, and confirm that TLS 1.3 = Yes and TLS 1.2 = No, indicating that TLS 1.3 is minimum required, as shown below:

    qna ssllabs tls 1.3

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful