An Azure service that provides streamlined full-stack web app development.
The Problem were missing CAA records for digicert. Thanks for to @Praneeth Maddali for assisting and pointing that out.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Attempting to create a custom domain is stuck in validating forever. there is no indication of why it is not working.
Tried different ways of creating the cusotm domain (via azure portal & powershell) and validation (CNAM & TXT) already.
Please assist, thanks!
An Azure service that provides streamlined full-stack web app development.
The Problem were missing CAA records for digicert. Thanks for to @Praneeth Maddali for assisting and pointing that out.
Thanks for the detailed tests so far. Based on the behavior you’re seeing (TXT record correct but validation still failing, and CNAME returning “CNAME record is invalid”), this matches a known issue in Azure Static Web Apps: the domain cannot be validated unless DigiCert is explicitly allowed as a certificate issuer.
Azure uses DigiCert to issue the automatic SSL certificate. If your DNS zone does not include a CAA record for DigiCert, validation can hang indefinitely.
Please add the following DNS record at your DNS provider:
Type: CAA Name: @ Value: 0 issue "digicert.com" TTL: 300
If you already have a CAA record (for example only Let’s Encrypt), simply add an additional entry — multiple CAA records are supported.
After adding the record
This exact fix has resolved the same issue for multiple customers where TXT and CNAME validation kept failing even though DNS was correct.
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you
Hi Jonas,
UPDATE: I queried DNS and your TXT record appears correct. Sometimes the process gets stuck even though you have things correct. Please try below steps:
In my experience it typically takes 10 minutes or less for the validation to complete and certificate to be issued. If it hasn't finished within 15 minutes or so I would delete and try again. I just did a new custom domain and it took about 8 minutes.
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP