Could not establish trust relationship for the SSL/TLS secure channel with authority 'webservicename.hostname.int:9443'.

Ankit Jain 0 Reputation points
2024-11-20T07:05:12.4633333+00:00
  • We have an azure web app, where we have hosted the web API(OS:Linux). One of the api is trying to access the web service. Given below deatils:
  • Web service - "webservicename.hostname.int:9443"
  • Hosted - On-prem windows server IIS
  • VNet - Integrated with default subnet.
  • Issue - when we call the web service via hosted web app, it is retuning response as 400 Error: Bad Request - "Could not establish trust relationship for the SSL/TLS secure channel with authority 'webservicename.hostname.int:9443'."
  • The SSL trust certificate is a public .cer, which has been uploaded to web app > certificate.
  • Now the issue is it is not always responding 400, sometime it is giving 200 OK. But most of the time, it is throwing 400 SSL issue
  • Question is why it is behaving on and off response? and How to resolve this issue.
  • See attached screenshot: Cipher logs.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,952 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.