Skip to content

Commit a76254e

Browse files
Merge pull request #278626 from AaronMaxwell/aaronmax-Availability-TLS
Availability test TLS support
2 parents 172d272 + 6cb5b92 commit a76254e

File tree

1 file changed

+123
-9
lines changed

1 file changed

+123
-9
lines changed

articles/azure-monitor/app/availability-overview.md

Lines changed: 123 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Application Insights availability tests
33
description: Set up recurring web tests to monitor availability and responsiveness of your app or website.
44
ms.topic: conceptual
5-
ms.date: 04/28/2024
5+
ms.date: 06/18/2024
66
ms.reviewer: cogoodson
77
---
88

@@ -23,7 +23,7 @@ There are four types of availability tests:
2323
* [Standard test](availability-standard-tests.md): This single request test is similar to the URL ping test. It includes TLS/SSL certificate validity, proactive lifetime check, HTTP request verb (for example, `GET`, `HEAD`, or `POST`), custom headers, and custom data associated with your HTTP request.
2424
* [Custom TrackAvailability test](availability-azure-functions.md): If you decide to create a custom application to run availability tests, you can use the [TrackAvailability()](/dotnet/api/microsoft.applicationinsights.telemetryclient.trackavailability) method to send the results to Application Insights.
2525
* Classic tests (**older versions of availability tests**)
26-
* [URL ping test](monitor-web-app-availability.md): You can create this test through the Azure portal to validate whether an endpoint is responding and measure performance associated with that response. You can also set custom success criteria coupled with more advanced features, like parsing dependent requests and allowing for retries.
26+
* [URL ping test (deprecated)](monitor-web-app-availability.md): You can create this test through the Azure portal to validate whether an endpoint is responding and measure performance associated with that response. You can also set custom success criteria coupled with more advanced features, like parsing dependent requests and allowing for retries.
2727
* [Multi-step web test (deprecated)](availability-multistep.md): You can play back this recording of a sequence of web requests to test more complex scenarios. Multi-step web tests are created in Visual Studio Enterprise and uploaded to the portal, where you can run them.
2828

2929
> [!IMPORTANT]
@@ -34,31 +34,145 @@ You can create up to 100 availability tests per Application Insights resource.
3434
> [!NOTE]
3535
> Availability tests are stored encrypted, according to [Azure data encryption at rest](../../security/fundamentals/encryption-atrest.md#encryption-at-rest-in-microsoft-cloud-services) policies.
3636
37-
## Troubleshooting
37+
## TLS support
38+
To provide best-in-class encryption, all availability tests use Transport Layer Security (TLS) 1.2 or higher as the encryption mechanism of choice.
3839

3940
> [!WARNING]
40-
> We have recently enabled TLS 1.3 in Availability Tests. If you are seeing new error messages as a result, please ensure that clients running on Windows Server 2022 with TLS 1.3 enabled can connect to your endpoint. If you are unable to do this, you may consider temporarily disabling TLS 1.3 on your endpoint so that Availability Tests will fall back to older TLS versions.
41-
> For additional information, please check the [troubleshooting article](/troubleshoot/azure/azure-monitor/app-insights/troubleshoot-availability).
42-
See the dedicated [troubleshooting article](/troubleshoot/azure/azure-monitor/app-insights/troubleshoot-availability).
41+
> On 31 October 2024, in alignment with the [Azure wide legacy TLS deprecation](https://azure.microsoft.com/updates/azure-support-tls-will-end-by-31-october-2024-2/) TLS 1.0/1.1 protocol versions and TLS 1.2/1.3 legacy Cipher suites and Elliptical curves will be retired for Application Insights availability tests.
42+
43+
### Supported TLS configurations
44+
TLS protocol versions 1.2 and 1.3 are supported encryption mechanisms for availability tests. In addition, the following Cipher suites and Elliptical curves are also supported within each version.
45+
> [!NOTE]
46+
> TLS 1.3 is currently only available in these availability test regions: NorthCentralUS, CentralUS, EastUS, SouthCentralUS, WestUS
47+
48+
#### TLS 1.2
49+
**Cipher suites**
50+
- TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
51+
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
52+
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
53+
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
54+
- TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
55+
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
56+
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
57+
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
58+
59+
**Elliptical curves**
60+
- NistP384
61+
- NistP256
62+
63+
#### TLS 1.3
64+
**Cipher suites**
65+
- TLS_AES_256_GCM_SHA384
66+
- TLS_AES_128_GCM_SHA256
67+
68+
**Elliptical curves:**
69+
- NistP384
70+
- NistP256
71+
72+
### Deprecating TLS configuration
73+
> [!WARNING]
74+
> After 31 October 2024, protocol versions TLS 1.0 and 1.1 support will be completely removed. In addition, the following Cipher suites and Elliptical curves will be retired.
75+
76+
#### TLS 1.0
77+
**Cipher suites**
78+
- TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
79+
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
80+
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
81+
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
82+
- TLS_RSA_WITH_AES_256_CBC_SHA
83+
- TLS_RSA_WITH_AES_128_CBC_SHA
84+
85+
**Elliptical curves**
86+
- curve25519
87+
88+
#### TLS 1.1
89+
**Cipher suites:**
90+
- TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
91+
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
92+
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
93+
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
94+
- TLS_RSA_WITH_AES_256_CBC_SHA
95+
- TLS_RSA_WITH_AES_128_CBC_SHA
96+
97+
**Elliptical curves**
98+
- curve25519
99+
100+
> [!NOTE]
101+
> After 31 October 2024, only the listed Cipher suites and Elliptical curves within these TLS 1.2 and TLS 1.3 will be retired.
102+
103+
#### TLS 1.2
104+
**Cipher suites**
105+
- TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
106+
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
107+
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
108+
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
109+
- TLS_RSA_WITH_AES_256_GCM_SHA384
110+
- TLS_RSA_WITH_AES_128_GCM_SHA256
111+
- TLS_RSA_WITH_AES_256_CBC_SHA256
112+
- TLS_RSA_WITH_AES_128_CBC_SHA256
113+
- TLS_RSA_WITH_AES_256_CBC_SHA
114+
- TLS_RSA_WITH_AES_128_CBC_SHA
115+
116+
**Elliptical curves:**
117+
- curve25519
118+
119+
#### TLS 1.3
120+
**Elliptical curves**
121+
- curve25519
43122

44123
## Frequently asked questions
45124

46125
This section provides answers to common questions.
47126

48-
### Can I run Availability tests on an intranet server?
127+
### General
128+
129+
#### Can I run availability tests on an intranet server?
49130

50131
Our [web tests](/previous-versions/azure/azure-monitor/app/monitor-web-app-availability) run on points of presence that are distributed around the globe. There are two solutions:
51132

52133
* **Firewall door**: Allow requests to your server from [the long and changeable list of web test agents](../ip-addresses.md).
53134
* **Custom code**: Write your own code to send periodic requests to your server from inside your intranet. You could run Visual Studio web tests for this purpose. The tester could send the results to Application Insights by using the `TrackAvailability()` API.
54135

55-
### What is the user agent string for availability tests?
136+
#### What is the user agent string for availability tests?
56137

57138
The user agent string is **Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; AppInsights**
58139

140+
### TLS Support
141+
142+
#### How does this deprecation impact my web test behavior?
143+
Availability tests act as a distributed client in each of the supported web test locations. Every time a web test is executed the availability test service attempts to reach out to the remote endpoint defined in the web test configuration. A TLS Client Hello message is sent which contains all the currently supported TLS configuration. If the remote endpoint shares a common TLS configuration with the availability test client, then the TLS handshake succeeds. Otherwise, the web test fails with a TLS handshake failure.
144+
145+
#### How do I ensure my web test isn't impacted?
146+
To avoid any impact, each remote endpoint (including dependent requests) your web test interacts with needs to support at least one combination of the same Protocol Version, Cipher Suite, and Elliptical Curve that availability test does. If the remote endpoint doesn't support the needed TLS configuration, it needs to be updated with support for some combination of the above-mentioned post-deprecation TLS configuration. These endpoints can be discovered through viewing the [Transaction Details](/azure/azure-monitor/app/availability-standard-tests) of your web test (ideally for a successful web test execution).
147+
148+
> [!NOTE]
149+
> For steps to enable the needed TLS configuration on your web server, it is best to reach out to the team that owns the hosting platform your web server runs on if the process is not known.
150+
151+
#### After October 31, 2024, what will the web test behavior be for impacted tests?
152+
There's no one exception type that all TLS handshake failures impacted by this deprecation would present themselves with. However, the most common exception your web test would start failing with would be `The request was aborted: Couldn't create SSL/TLS secure channel`. You should also be able to see any TLS related failures in the TLS Transport” [Troubleshooting Step](/troubleshoot/azure/azure-monitor/app-insights/availability/diagnose-ping-test-failure) for the web test result that is potentially impacted.
153+
154+
#### How do I validate what TLS configuration a remote endpoint supports?
155+
There are several tools available to test what TLS configuration an endpoint supports. One way would be to follow the example detailed on this [page](/security/engineering/solving-tls1-problem). If your remote endpoint isn't available via the Public internet, you need to ensure you validate the TLS configuration supported on the remote endpoint from a machine that has access to call your endpoint.
156+
157+
#### Can I view what TLS configuration is currently in use by my web test?
158+
The TLS configuration negotiated during a web test execution can't be viewed. As long as the remote endpoint supports common TLS configuration with availability tests, no impact should be seen post-deprecation.
159+
160+
#### Which components does the deprecation affect in the availability test service?
161+
The TLS deprecation detailed in this document should only affect the availability test web test execution behavior after October 31, 2024. For more information about interacting with the availability test service for CRUD operations, see [Azure Resource Manager TLS Support](/azure/azure-resource-manager/management/tls-support). This resource provides more details on TLS support and deprecation timelines.
162+
163+
#### Where can I get TLS support?
164+
For any general questions around the legacy TLS problem, see [Solving TLS problems](/security/engineering/solving-tls1-problem).
165+
166+
## Troubleshooting
167+
168+
> [!WARNING]
169+
> We have recently enabled TLS 1.3 in availability tests. If you are seeing new error messages as a result, please ensure that clients running on Windows Server 2022 with TLS 1.3 enabled can connect to your endpoint. If you are unable to do this, you may consider temporarily disabling TLS 1.3 on your endpoint so that availability tests will fall back to older TLS versions.
170+
> For additional information, please check the [troubleshooting article](/troubleshoot/azure/azure-monitor/app-insights/troubleshoot-availability).
171+
See the dedicated [troubleshooting article](/troubleshoot/azure/azure-monitor/app-insights/troubleshoot-availability).
172+
59173
## Next steps
60174

61175
* [Availability alerts](availability-alerts.md)
62176
* [Standard tests](availability-standard-tests.md)
63-
* [Create and run custom availability tests using Azure Functions](availability-azure-functions.md)
177+
* [Availability tests using Azure Functions](availability-azure-functions.md)
64178
* [Web tests Azure Resource Manager template](/azure/templates/microsoft.insights/webtests?tabs=json)

0 commit comments

Comments
 (0)