I have an Azure function app that has been working completely fine over the past few weeks but the SSL binding on the Custom domain has stopped working. The SSL is not expired or anything like that.
The error response is:
Not found because of proxy error: Error: Hostname/IP doesn't match certificate's altnames: "Host: api.mydomain.com. is not in the cert's altnames: DNS:*.azurewebsites.net, DNS:*.scm.azurewebsites.net, DNS:*.azure-mobile.net, DNS:*.scm.azure-mobile.net”
The portal shows the binding correctly under the Azure Functions settings. Also this is an Azure Function on consumption plan.
I have initialized a support but no luck resolving this.