Hello! Welcome to the Microsoft Q&A Community!
TL;DR: Allow DigiCert to issue a certificate by adding a CAA record for the top domain (@) with the value 0 issue "digicert.com"
.
Explanation:
In Azure, when you're adding a custom domain to your Static Web App, DigiCert is the certificate authority used to issue SSL certificates. If you're encountering errors during validation, it might be because DigiCert is unable to issue the certificate due to a missing CAA (Certification Authority Authorization) record for your domain. Refer to this Microsoft Docs
To resolve this, you can add a CAA record for your domain in your DNS settings. The CAA record will explicitly authorize DigiCert to issue SSL certificates for your domain, which is required by Azure Static Web Apps for domain validation.
Here's how you can do it:
Go to your DNS provider (the one hosting your custom domain).
Create a new CAA record for the top-level domain (e.g., yourdomain.com).
- Set the value of the CAA record to: 0 issue "digicert.com" This record will allow DigiCert to issue SSL certificates for your domain.
- After adding the CAA record, wait for DNS propagation, which may take up to 24 hours (sometimes less).
Once the CAA record is in place, Azure should be able to complete the validation and issue the SSL certificate for your custom domain.
If you're still facing issues after this, you may want to verify the propagation status of your DNS records or check for any other DNS misconfigurations.
If this answer was helpful, please click "Accept Answer" or "Upvote" to help others in the Microsoft Q&A community!