Azure Storage Static Website HTTPS certificate hostname mismatch

Time Bokka 0 Reputation points
2026-10-14T06:49:26.5266667+00:00

Question

My Azure Storage Static Website is enabled and index.html and profile.jpg uploaded successfully using Terraform. Endpoint: https://kittuportfoliostg2026.z58.web.core.windows.net/ Chrome shows NET::ERR_CERT_COMMON_NAME_INVALID. curl reports SEC_E_WRONG_PRINCIPAL. The website returns HTTP 200 only when I bypass certificate verification using curl -k. This happens on both laptop and mobile. I am accessing the Azure-generated endpoint directly, not a custom domain. Terraform reports dns_endpoint_type = Standard. Please help investigate the TLS certificate mismatch.

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.