Azure Front Door SSL Certificate Mismatch with IIS Backend – 502 Error
A customer has an application hosted on a VM running IIS, and it is using Azure Front Door (AFD). The AFD configuration uses the public IP of the VM as the host origin, with the domain name rhino.micology.com
configured in DNS and pointing to the AFD endpoint. The AFD host header rhino.micology.com
is used in the origin group to route traffic to the VM, where the SSL certificate is implemented.
we have a new wild card certificate; SSL validation is enabled in AFD, along with health probes. However, when attempting to browse the application, a 502 error occurs, and the AFD logs indicate an SSL certificate mismatch error. Testing with a subdomain pointing to the VM and configuring it in AFD works successfully. A solution is needed for the SSL certificate mismatch issue with the primary domain.