CAA record generator
Generating the record runs in the browser and requires JavaScript. A fixed example is shown.
Everything runs in your browser; nothing is sent or stored.
- In the "Generate a record" section, check the certificate authorities that issue certificates for the domain.
- When a domain has no CAA records, any CA may issue certificates for it. Once CAA records are added, only the CAs listed in them may issue, so include every CA in use, including the one through which the hosting provider or a service like Cloudflare issues certificates for the site. Such services issue certificates through partner CAs, so check their documentation for the CAs to allow.
- In the "Wildcard certificates (issuewild)" setting, choose whether to allow the same certificate authorities, allow other certificate authorities, or forbid issuance.
- The records are shown in zone file format and also as flag, tag, and value fields. Copy the records by clicking "Copy".
- The CAA records of a domain also apply to its subdomains, unless a subdomain has CAA records of its own. CAs check the records only when issuing a certificate, so the records do not affect certificates already issued.
What is a CAA record?
A CAA (Certification Authority Authorization) record is a DNS record in which the domain owner sets which certificate authorities (CAs) may issue SSL certificates for the domain. Before issuing a certificate, a CA checks the CAA records of the domain, and when the CA is not listed in them, it refuses to issue the certificate. This way, CAA records reduce the risk that a CA the domain owner does not work with issues a certificate for the domain, for example because of a mistake or an impersonation attempt.
Record structure: flag, tag, and value
Every CAA record has three parts. The flag is usually 0, and the value 128 marks a critical record. The tag sets the type of authorization: issue for regular certificates, issuewild for wildcard certificates, and iodef for the address to which CAs report issuance requests that violate the policy. For the issue and issuewild tags, the value is the identifying domain of the CA, such as letsencrypt.org, and the value ; forbids every CA from issuing the certificate type set by the tag. Each CA needs a separate record.
Before adding CAA records to a domain
Once CAA records are added, only the CAs listed in them may issue certificates for the domain and its subdomains. So find out in advance which CAs issue all the certificates in use, including certificates issued automatically by the hosting provider, a CDN service, or an email service. A CA that is not included in the records will refuse to renew the certificate, and the site may show a security error once the existing certificate expires.
Common CAA records as flag, tag, and value
0 issue "letsencrypt.org"Allows Let's Encrypt to issue certificates for the domain, including wildcard certificates when there is no issuewild record.0 issue "sectigo.com"Allows Sectigo. This record is also needed for ZeroSSL certificates, which are issued by Sectigo.0 issue ";"When there are no other issue records, no CA may issue regular certificates for the domain, or wildcard certificates when there is no issuewild record.0 issuewild ";"Forbids issuing wildcard certificates, alongside issue records that allow regular certificates.0 iodef "mailto:security@example.com"An email address to which CAs that support it report issuance requests that violate the policy.0 issue "letsencrypt.org; validationmethods=dns-01"Allows Let's Encrypt with a parameter that limits the validation method: issuance only after control of the domain is validated through a DNS record.128 issue "letsencrypt.org"A record with the critical flag. Every CA knows the issue tag, so the flag does not change the authorization.
CAA record generator FAQ
Are CAA records required for a domain?
No. CAA records are not required. When a domain has no CAA records, any CA may issue certificates for it, and the site works as usual. CAA records add a layer of protection, but you need to update them whenever you switch to another CA.
Does the generator forbid wildcard certificates by default?
Yes. In the "Wildcard certificates (issuewild)" setting, the "Forbid issuance" option is selected by default, which creates the issuewild record with the value ";". For a site that uses a wildcard certificate, choose "Same as regular certificates" or "Other CAs"; otherwise, the CA will refuse to renew the certificate.
Can I allow a certificate authority that is not on the list?
Yes. In the "Other CAs" field, you can enter the identifying domain of any certificate authority, one domain per line, as given in the documentation of the CA. A value that is not a valid domain, for example an address starting with https://, is left out of the records and shown in a message below the field.
Which format do I use to enter the records in my DNS control panel?
Use the format that your DNS control panel accepts. In a control panel where each record is entered in separate fields, copy the flag, tag, and value of each record from the "Records by field" section. In a control panel that accepts a zone file import, you can paste all the lines from the "Records in zone file format" section at once.