Leaf certificate mismatch while trying to connect Azure App Gateway to AzureStorage Account via ple
The error you encountered is due to the storage website endpoint URL and application gateway backend settings. Make sure to add the static website URL, which is in the storage account, by navigating to the storage account > Static website
.
Kindly check the configuration below in your environment.
Static website endpoint url

Application gateway frontend IP

Storage account firewall settings

Add the same URL in the backend pool as shown in the screenshot below

Check whether the private endpoint
is configured for the static website and also verify the DNS
configuration.

Application gateway backend settings

Application gateway health probe

When I am trying to access the static website using the application gateway's public IP, the website is accessible.

Result from the storage static website URL.
