How to configure TLS mutual authentication for Azure Container App?

Jakub Pernica 170 Reputation points


so I've implemented TLS mutual authentication working with my Azure App Service. I have a very simple ASP.NET Core project that's implemented according to this example from documentation. I also added additional validation of thumbprint and everything seems to work as intended when deployed to Azure App Service.

However, if I deploy the exact same code to Azure Container App, it seems like no requests come through (I don't get to any of my Console.WriteLines). For my Container App, I've configured that client certificates are required in the Ingress settings. Seems like App Service has some functionality that Container App doesn't. I'm curious if I need to implement or configure it differently for ACA.

My full code of Program.cs file:

Appreciate any help.

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
176 questions
{count} votes