Unable to post the messages to the https service using http connector-Logic app

AboorvaRaja Ramar 41 Reputation points

BadRequest. Http request failed with status code 'TrustFailure' and status message: 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,945 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 69,926 Reputation points

    Hi @AboorvaRaja Ramar

    Welcome to Microsoft Q&A! Thanks for posting the question.

    One of the reasons for the error would be in the scenario where there is an issue with the certificate at your configured HTTP endpoint or you are using self-sign certificate in multi tenant environment. If you want to use self sign certificate then the logic app should be in ISE. Please review Access for outbound calls to other services and systems for more details on TLS/SSL issue.

    At my end, I was able to reproduce the issue as the certificate was expired at my end.

    If it is not the above case then please share more details on your scenario so I can assist you further.
    Feel free to get back to me if you need any assistance.

1 additional answer

Sort by: Most helpful
  1. AboorvaRaja Ramar 41 Reputation points


    I am getting this error "BadRequest. Http request failed with status code 'ConnectFailure' and status message: 'Unable to connect to the remote server'.
    when calling a api from the logic app, the same configuration working from the Postman. I am not sure what is missing.


    0 comments No comments