Hello @Harsh Thakor
The answer to your question is yes both support TLS 1.3.
Here's how you can configure TLS 1.3 for both Windows and Linux App Services in Azure:
Windows App Service:
- To enable TLS 1.3 for your Windows App Service, you typically don't need to make any specific configuration changes on the App Service level. Azure manages the TLS settings for you. However, you can control the TLS version supported by your application code if needed.
- You can configure your application code to use TLS 1.3 by modifying the application's code or application framework settings (e.g., .NET Core or ASP.NET). Most modern frameworks and libraries should automatically use the highest TLS version available, which includes TLS 1.3 if the client and server support it.
- Linux App Service:
For Linux-based App Services, you can configure the TLS settings at the server level, which includes support for TLS 1.3.
- To enable TLS 1.3 for your Linux App Service, you can make use of a custom Nginx configuration file. Here's how:
- Access your Linux App Service through SSH.
- Navigate to the
/home/site/wwwroot
directory. - Create an
.nginx.conf
file with your custom Nginx configuration. - In the configuration file, you can specify TLS settings, including enabling TLS 1.3. Here's an example of the TLS settings in the Nginx configuration:
nginxCopy code
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers off;
```
- Save the configuration file.
- Finally, restart the Nginx service to apply the changes:
```yaml
bashCopy code
systemctl restart nginx
```