Hello Puja Manna (Accenture International Limited)
Greetings!
I understand that you are encountering a 502 error at the front door, and after removing the certificate name validation, you are facing a 403 error.
Please check if any WAF is configured at the front door level. If so, review the WAF rules blocking the request.
Examine the logs to identify which rule is causing the blockage and check the server status.
If the server is also returning a 403-status code, check if the backend is terminating the request and verify the connection status as well.
Additionally, review the health probe logs to determine if the backend is healthy or unhealthy, and what response it is providing.
Verify if there are any network restrictions on the backend. If there are, allow the front door to reach the backend VMSS. This should result in a 200 response instead of 403, and the system should function as expected.
Regarding the certificate, I understand you are using a BYOC certificate. Ensure it is properly bundled and added at the backend level as well.
Refer to the following document for more information:
You can also collect the tracking reference ID in the access logs when encountering the 403 error. Use this reference ID to check logs in your Azure portal. Please refer to the following document for collecting the logs:
https://learn.microsoft.com/en-us/azure/frontdoor/refstring?source=recommendations&tabs=edge
Hope the above answer helps! Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.