|
1 | 1 | --- |
2 | | -title: Cannot establish trust relationship for the SSL/TLS secure channel |
3 | | -description: Provides a resolution for the error in Power Automate for desktop, stating that you can't establish a trust relationship for the SSL/TLS secure channel. |
| 2 | +title: Could not establish trust relationship for the SSL or TLS secure channel |
| 3 | +description: Provides a workaround to allow users with invalid certificates to use certain actions in Power Automate for desktop. |
4 | 4 | ms.reviewer: nimoutzo |
5 | | -ms.date: 05/05/2025 |
6 | | -ms.custom: sap:Desktop flows\Power Automate for desktop errors |
| 5 | +ms.date: 05/06/2025 |
| 6 | +ms.custom: sap:Desktop flows\PAD Runtime - Action execution (not browser or UI) |
7 | 7 | --- |
8 | | -# Cannot establish trust relationship for the SSL/TLS secure channel |
| 8 | +# "Could not establish trust relationship for the SSL/TLS secure channel" error |
9 | 9 |
|
10 | | -This article provides a resolution for the error in Power Automate for desktop, stating that you can't establish a trust relationship for the SSL/TLS secure channel. |
| 10 | +This article provides a workaround for resolving the "Could not establish trust relationship for the SSL/TLS secure channel" error in Power Automate for desktop. |
11 | 11 |
|
12 | | -_Applies to:_ Power Automate |
| 12 | +_Applies to:_ Power Automate for desktop version 2.35 or later |
13 | 13 |
|
14 | 14 | ## Symptoms |
15 | | -- An action in Power Automate for desktop, such as 'Invoke web service' or 'Get password from CyberArk', fails at runtime with the following error: |
16 | | - - "System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." |
17 | | -- In some cases, it is observed that a tool to inspect network traffic (e.g., Fiddler) may be installed on the computer. |
18 | 15 |
|
19 | | -## Applies to |
20 | | -PAD v2.35 or higher |
| 16 | +Actions in Power Automate for desktop, like [Invoke web service](/power-automate/desktop-flows/actions-reference/web#invokewebservicebase), or [Get password from CyberArk](/power-automate/desktop-flows/actions-reference/cyberark#getpasswordbase), might fail during runtime with the following error: |
| 17 | + |
| 18 | + > System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. |
| 19 | +
|
| 20 | +In certain cases, a network traffic inspection tool, such as Fiddler, might be installed on the computer. |
21 | 21 |
|
22 | 22 | ## Cause |
23 | | -Power Automate for desktop (PAD) checks whether "https" certificates are revoked or invalid. If a certificate in the chain is revoked or invalid, an error message appears. |
24 | 23 |
|
25 | | -Companies that use package inspection to audit their network infrastructure may not allow users to sign in, as their Certificate Revocation List (CRL) may not have been defined or is unreachable. |
| 24 | +Power Automate for desktop validates the status of HTTPS certificates to check their validity, including whether they're revoked or invalid. This error might occur under the following conditions: |
| 25 | + |
| 26 | +1. A certificate in the chain has been revoked or marked as invalid. |
26 | 27 |
|
27 | | -If Fiddler or a similar tool is installed, it may also install a self-signed certificate whose revocation status is "Unknown". Therefore, the error message is displayed if the relevant registry key is set to "Comprehensive". |
| 28 | +2. Companies that use package inspection to audit their network infrastructure might not allow users to sign in, as their Certificate Revocation List (CRL) might not have been defined or is unreachable. |
| 29 | + |
| 30 | +3. Tools like Fiddler might install a self-signed certificate on the system, which displays a revocation status of **Unknown**. Therefore, when the registry key is set to **Comprehensive**, the error might occur. |
28 | 31 |
|
29 | 32 | ## Workaround |
30 | | -To allow users with invalid certificates to use that action, follow the instructions [here.](https://learn.microsoft.com/power-automate/desktop-flows/governance#configure-power-automate-for-desktop-to-check-for-revoked-certificates) |
| 33 | + |
| 34 | +Administrators can enable actions for users with invalid certificates by following the steps in [Configure Power Automate for desktop to check for revoked certificates](/power-automate/desktop-flows/governance#configure-power-automate-for-desktop-to-check-for-revoked-certificates). |
0 commit comments