Ref1: enter link description here
Ref2: enter link description here
I've implemented mutual (certificate) authentication and I hosted my app on the Azure App service. When I open directly my app URL https://apptemp.azurewebsites.net/swagger/index.html
and then select client certificate, the app works well and I see my app page.
Now, I've added an Azure Application Gateway V2 ( without WAF) with the below configuration.
- I configure this item on my web app
- I configure the backend HTTP setting
- Create an SSL profile with a Public certificate that is exported from the root certificate. The root certificate was uploaded to the server.
- I added a listener
- In the health probe with the below config.
for the resulting test, I received this error:
Received invalid status code: 403 in the backend server’s HTTP response. As per the health probe configuration, 200-399 is the acceptable status code. Either modify probe configuration or resolve backend issues.
And also I received the 502 bad gateway
when I open the test.mydomain.com
URL.
- I changed
HTTP response status code match
to 200-403 and then I received Healthy status.
But when I open the test.mydomain.com
URL I received the below error.
Really I am confused that what is the problem :(