Skip to main content

Notifications

Community site session details

Community site session details

Session Id : wzxiSu+bSv6ImUd6NUvEr/
Power Automate - Using Connectors
Answered

BadRequest TrustFailure and The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Like (0) ShareShare
ReportReport
Posted on 13 Jun 2019 13:04:58 by 68

Hello,

 

I didn't see this topic before so I create this post.

 

I have a problem on MS Flow, I tried to connect my API URL which is connected to internet but after launching the test Flow the next message appear : "BadRequest http request fail with state code "TrutFailure" and the state message "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ""

 

I have a HTTP trigger and then a parse JSON and finally the action to add a row in Power BI.

 

If you need more information I can help you.

 

Thank you in advance !

 

 

 

  • Verified answer
    elabaigt Profile Picture
    68 on 25 Jun 2019 at 06:46:27
    Re: BadRequest TrustFailure and The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

    Thank you for your reply,

     

    I achieve to resolve this problem by using the HTTP link instead of using HTTPS link because Flow don't accept the certificate.

  • v-yamao-msft Profile Picture
    on 25 Jun 2019 at 06:42:14
    Re: BadRequest TrustFailure and The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

    Hi @elabaigt ,

     

    Please ask your admin to check the Firewall setting for you.

     

    Besides, I have tested likes below and the HTTP trigger is just working fine.

    1.PNG

     

     

    Best regards,

    Mabel

     

  • elabaigt Profile Picture
    68 on 14 Jun 2019 at 06:46:42
    Re: BadRequest TrustFailure and The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

    Thank you for your reply @v-yamao-msft,

     

    Below this is the error, I was talking about:

     

    error message.PNG

     

    I use the method GET to get data from my REST full API with the url below:

    url.PNG

     

    I can't verify if my frirewall is correctly configured because I don't have administrator access.

     

    I don't know how Ican resolve this problem.

     

    Thank you in advance !

     

  • v-yamao-msft Profile Picture
    on 14 Jun 2019 at 03:25:04
    Re: BadRequest TrustFailure and The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

    Hi @elabaigt ,

     

    Could you share more details on your flow?

     

    I assume that the error occurs on the trigger, how is the HTTP trigger configured?

     

    Further, please make sure your firewall settings or proxy server settings are configured correctly. Configure the settings on the proxy server to allow access to the endpoints that are used by the service.

     

    Hope the following doc on Upload and bind SSL certificates to Azure App Service could be helpful:

    https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-ssl

     

    Best regards,

    Mabel

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Using Connectors

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 6 Super User 2025 Season 1

#2
KT-07051015-0 Profile Picture

KT-07051015-0 4

#3
GI-06050833-0 Profile Picture

GI-06050833-0 2

Overall leaderboard

Featured topics