Cannabis Ruderalis

Content deleted Content added
Pippin Bear (talk | contribs)
Correct wrong value of flags byte
Pippin Bear (talk | contribs)
Some more clarification/rewording
Line 5: Line 5:
== Structure of CAA resource record ==
== Structure of CAA resource record ==


Each CAA resource record contains a flags byte and a property. The flags byte contains flags which can influence the interpretation of the record. The property consists of a "tag" which allows selection between several kinds of CAA record, and a "value" string whose meaning depends on the choice of tag.
Each CAA resource record contains a flags byte and tag-value pair, hereafter referred to as property.{{clarify|date=January 2017}}


Currently one flag is defined: the ''Issuer Critical'' flag is represented by the most significant bit of the flags byte. If the Issuer Critical flag's value is 1 (that is, a flags byte equal to 128), this indicates that the "corresponding property tag must be understood if the semantics of the CAA record are to be correctly interpreted by an issuer."<ref name=rfc6844 />
Currently one flag is defined: the ''Issuer Critical'' flag is represented by the most significant bit of the flags byte. If the Issuer Critical flag's value is 1 (that is, a flags byte equal to 128), this indicates that a CA which does not understand or does not implement the property tag in this record should refuse to issue a certificate for the domain.<ref name=rfc6844 /> This is similar to the way [[X.509#Structure_of_a_certificate|critical extensions in X509 certificates]] work.


Besides the flag, three property tags are defined:
Besides the flag, three property tags are defined:


'''issue''': This property authorizes the holder of the domain to issue certificates for the domain in which the property is published.
'''issue''': This property authorizes the holder of the domain specified in the "value" field to issue certificates for the domain for which the property is published.


'''issuewild''': This property acts like ''issue'' but allows wildcard certificates.
'''issuewild''': This property acts like ''issue'' but allows wildcard certificates.


'''iodef''': This property specifies a URL for reporting certificate issues. This is not mandatory for the client.
'''iodef''': This property specifies a method for CAs to report to the domain holder when a certificate is issued. Not all CAs support this tag, so there is no guarantee that all certificate issuances will be reported.


== Supported Server ==
== Supported Server ==

Revision as of 17:26, 19 January 2017

DNS Certification Authority Authorization (CAA) uses the Internet's Domain Name System to allow the holder of a domain to specify which certificate authorities are allowed to issue certificates for that domain. This is not intended to support additional cross-checking at the client end of TLS connections (rather, DANE is intended to be used for that purpose), but as a check for certificate authorities to carry out as part of their issuance procedures. CAA records are intended to allow CAs to avoid mis-issuing certificates in some circumstances, while DANE records are intended to allow relying applications (TLS clients) to avoid relying on mis-issued certificates in some circumstances.[1]

DNS Certification Authority Authorization is specified by RFC 6844. It defines a new "CAA" DNS Resource Record type for name-value pairs that can carry a wide range of information to be used as part of the CA authorization process. It may also be possible for certificate evaluators to use CAA records to detect possible mis-issued certificates. However, the certificate evaluator should consider that the CAA records may have changed between the time the certificate was issued and the time the certificate is observed by the evaluator.[1]

Structure of CAA resource record

Each CAA resource record contains a flags byte and a property. The flags byte contains flags which can influence the interpretation of the record. The property consists of a "tag" which allows selection between several kinds of CAA record, and a "value" string whose meaning depends on the choice of tag.

Currently one flag is defined: the Issuer Critical flag is represented by the most significant bit of the flags byte. If the Issuer Critical flag's value is 1 (that is, a flags byte equal to 128), this indicates that a CA which does not understand or does not implement the property tag in this record should refuse to issue a certificate for the domain.[1] This is similar to the way critical extensions in X509 certificates work.

Besides the flag, three property tags are defined:

issue: This property authorizes the holder of the domain specified in the "value" field to issue certificates for the domain for which the property is published.

issuewild: This property acts like issue but allows wildcard certificates.

iodef: This property specifies a method for CAs to report to the domain holder when a certificate is issued. Not all CAs support this tag, so there is no guarantee that all certificate issuances will be reported.

Supported Server

As of 2016, CAA records are supported in the BIND DNS server,[2] the NSD authoritative DNS server (as of version 4.0.1),[3] the Knot DNS server (since version 2.2.0).[4] and PowerDNS (since version 4.0.0).[5]

References

  1. ^ a b c P. Hallam-Baker and R. Stradling (January 2013). "RFC 6844: DNS Certification Authority Authorization (CAA) Resource Record". Internet Engineering Task Force.
  2. ^ Vicky Risk (August 29, 2014). "Certificate Authority Authorization Records". Internet Systems Consortium.
  3. ^ NLNet Labs (January 27, 2014). "NSD: Name Server Daemon Releases". NLNet Labs.
  4. ^ Včelak, Jan. "[knot-dns-users] Knot DNS 2.2.0 release". Retrieved 2016-04-26.
  5. ^ "Supported Record Types". PowerDNS.com.

See also

Leave a Reply