An Azure service that provides streamlined full-stack web app development.
For NET::ERR_CERT_COMMON_NAME_INVALID on a custom hostname that already resolves to the Static Web App, the supported fixes are:
- Verify that
www.a-culture.comis 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. - If the certificate does not cover
www.a-culture.com, remove and re-add thewwwcustom domain in the Static Web App, then complete validation again so Azure can provision a new certificate for that hostname. - 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
- Type:
- 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.
- 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: