Skip to content

Commit aa1cdeb

Browse files
authored
Merge pull request #8862 from MicrosoftDocs/NikosMoutzourakis-SSL_TLS-secure-channel
AB#5698: Nikos moutzourakis ssl tls secure channel
2 parents b049acb + b5fa0e0 commit aa1cdeb

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
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+
ms.reviewer: nimoutzo
5+
ms.date: 05/15/2025
6+
ms.custom: sap:Desktop flows\PAD Runtime - Action execution (not browser or UI)
7+
---
8+
# "Could not establish trust relationship for the SSL/TLS secure channel" error
9+
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+
12+
_Applies to:_   Power Automate for desktop version 2.35 or later
13+
14+
## Symptoms
15+
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 some cases, the issue might occur when a network traffic inspection tool, such as Fiddler, is installed on the computer.
21+
22+
## Cause
23+
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.
27+
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 with an Unknown revocation status. In such cases, if the [CertificateRevocationCheck](/power-automate/desktop-flows/governance#configure-power-automate-for-desktop-to-check-for-revoked-certificates) registry key is set to **Comprehensive**, Power Automate for desktop will reject the certificate and the error will be generated.
31+
32+
## Workaround
33+
34+
Administrators can allow users with invalid certificates to use these actions 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).

support/power-platform/power-automate/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@
130130
href: desktop-flows/enable-webview-pad-login.md
131131
- name: Can't access the parent flow
132132
href: desktop-flows/cannot-access-parent-flow.md
133+
- name: '"Could not establish trust relationship for the SSL/TLS secure channel" error'
134+
href: desktop-flows/could-not-establish-trust-relationship-ssl-tls-secure-channel.md
133135
- name: Can't interact with desktop application without an error
134136
href: desktop-flows/cannot-interact-with-desktop-application.md
135137
- name: Can't create, edit, save, or view desktop flows

0 commit comments

Comments
 (0)