Azure Identity authentication failed with SSL connection failure

Ali 1 Reputation point
2021-12-03T13:50:45.71+00:00

Here is the error I got in the function app
System.Net.Http: The SSL connection could not be established, see inner exception. System.Net.Security: Authentication failed because the remote party has closed the transport stream.

The setup is,
I have a Function App hosted in an App service integrated with a subnet in a VNET.
I have a ServiceBus integrated with the same VNET PLE enabled with a separated subnet for PLE.
The role assignment has been done for a specific queue of the service bus namespace.
The same setup worked with SAS token, therefore NSG rules for AMQP port opening and etc must be fine unless the function app is trying to call another service which I'm not aware of.
I also checked the same function app without VNET integration and it worked, therefore, nothing wrong with the built code!
I would appreciate it if anyone has a clue about that!

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
515 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,013 questions
{count} votes