Receiving ERR_CERT_COMMON_NAME_INVALID in small number of requests to websites hosted at Azure

Joseph 1 Reputation point
2021-10-14T16:57:54.747+00:00

We host multiple websites at Azure. Infrequently (a few times a day) we get reports of customers seeing a certificate error on our sites. This is happening on all our sites. This started happening a couple months ago. The error is:

NET::ERR_CERT_COMMON_NAME_INVALID

This server couldn't prove that it's www.XYZXYZ.com; its security certificate is from *.azurewebsites.net. This may be caused by a misconfiguration or an attacker intercepting your connection.

If you refresh the page it will go away and the certificate will properly load. This only happens in a VERY small number of requests (my estimation would be about .1% of requests).

I have both IP based certificate binding and SNI based bindings. Changing it does not seem to fix the issue. Are there ways to track down what the original cause of this issue would be? It seems that traffic is not being forwarded properly to the right endpoint to get the correct certificate?

Thanks for the help!

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,913 questions
{count} votes