Support Portal

Submit a ticket My Tickets

How to properly configure your CAA DNS record for Strapi Cloud

If you are using Strapi Cloud with Custom Domains, you may already have a Certificate Authority Authorization DNS record (CAA Record) configured on your top level domain.

If this is the case you will need to add two additional values to this record or additional CAA records to ensure that Strapi Cloud can properly issue SSL certificates on your behalf for your Strapi Cloud Project.

To check if you have a pre-existing CAA record you can use the follow command on Mac and/or Linux:

dig caa

Within the "Answer Section" you will see the various records if there any and will appear like so:

$ dig caa

; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> caa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12345
;; flags: qr rd ad; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;              IN      CAA

;; ANSWER SECTION:       0       IN      CAA     0 issue ""       0       IN      CAA     0 issuewild ""

To allow Strapi Cloud to issue SSL Certificates on your behalf you will need to add the following two Certificate Authorities to your CAA records:

# CAA records added by Let's Encrypt
0 issue ""
0 issuewild "" // Optional

# CAA records added by Google Trust Services
0 issue "; cansignhttpexchanges=yes"
0 issuewild "; cansignhttpexchanges=yes" // Optional

Strapi Cloud by default uses Google Trust Services but as a fallback we also can use Let's Encrypt thus both of these need to be added to your CAA record.

After you modify your CAA record it can take up to 24 to 48 hours to propagate the internet but once it has propagated you will need to manually trigger a new deployment of your application which will restart the SSL generation process.

If you have any issues please contact the support team using the "Help" icon within the Strapi Cloud Dashboard and open a ticket with us.

Derrick is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.