Azure Web App For Containers: Certificate Authentication Fails with 403 when Client certificate is forwarded #51819
Labels
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
I have an ASP.NET Core Web API that uses a self-signed certificate. Locally everything is working fine, but when deployed to Azure Web App for Containers and while using the same self-signed certificate, I am getting 403.
By passing ClientCertificateValidation.
And in the startup,
From Application Insights, I can see the
X-ARR-ClientCert
header is getting sent.From Azure, Client Certificate Mode is set to
Optional
.And the weird thing is, If I deploy the application to Azure App Service (not container), it works.
The text was updated successfully, but these errors were encountered: