invalid SSL certificate for Static Web Apps

Norimichi Oyama 70 Reputation points
2026-08-14T00:02:42.8266667+00:00

Custom Domain:

www.a-culture.com

Status:

Validated

DNS resolves correctly to the Azure Static Web App hostname.

Default Azure Static Web App URL works.

Browser returns:

NET::ERR_CERT_COMMON_NAME_INVALID

Two older Static Web Apps were deleted earlier today.

How can I force SSL certificate reprovisioning?

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.

0 comments No comments

Answer accepted by question author

AI answer

2026-08-14T00:02:55.39+00:00

For NET::ERR_CERT_COMMON_NAME_INVALID on a custom hostname that already resolves to the Static Web App, the supported fixes are:

  1. Verify that www.a-culture.com is added as a separate custom domain and is shown as secured with its own certificate binding. A hostname can validate in Azure but still fail HTTPS if the certificate does not include that exact hostname.
  2. If the certificate does not cover www.a-culture.com, remove and re-add the www custom domain in the Static Web App, then complete validation again so Azure can provision a new certificate for that hostname.
  3. Check DNS CAA records. Azure Static Web Apps uses DigiCert for the automatic SSL certificate. If the DNS zone restricts certificate issuers and does not allow DigiCert, validation can remain stuck or certificate issuance can fail. Add this CAA record if needed:
    • Type: CAA
    • Name: @
    • Value: 0 issue "digicert.com"
    • TTL: 300
  4. After adding or correcting the CAA record, remove the custom domain, wait about 5–10 minutes, then re-add the custom domain using TXT validation and refresh until validation completes.
  5. After the binding is recreated, test again from a new browser session or another device to rule out cached certificate data.

If the hostname is already correctly mapped and the certificate still presents the wrong common name after re-adding the custom domain, open an Azure support incident for certificate re-provisioning at the platform level.


References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Newest

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.