A TLSA record is not the letter
Answer A TLSA record is not the letter. RFC 6698, published in August 2012, is The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA. P. Hoffman and J. Schlyter wrote it. The category line says Standards Track. It lets the administrator of a domain name publish the keys used by that domain's TLS servers. The record is not From. It is not the rented send. A TLSA record is not the letter you are about to pay for.
The note that started this: The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA, P. Hoffman and J. Schlyter, RFC 6698, August 2012.
Yesterday's note was RFC 6591. That standards-track memo registers an auth-failure feedback type for a receipt-time report about one authentication failure. Today's memo is later in the calendar than that April, and earlier than the SMTP use this desk already read. It is August 2012. It does not register a feedback type. It defines a DNS resource record. The August 22 reading of RFC 7672 remains that reading. That later document says how a sender may use a TLSA record when it talks SMTP. This document says what the record is. A solo ad is one letter from a name you are about to rent. A certificate association in the DNS is not that letter.
The abstract is the job a sales page will skip. Encrypted communication often uses TLS, which depends on third parties to certify the keys. This document improves on that situation by enabling domain administrators to specify the keys used in that domain's TLS servers. It requires matching improvements in TLS client software, and no change in TLS server software. A client change is their sentence. It is not a reader, and it is not a file of people who asked for an offer. Section 1.2 says the protocol can generally be referred to as the DANE TLSA protocol, and then it says the name outright. TLSA does not stand for anything. It is just the name of the RRtype.
What does RFC 6698 cover?
It defines the TLSA resource record, type 52, so a domain can publish a certificate association for a TLS server. Certificate usage is 0, 1, 2, or 3. The selector is 0 for the full certificate or 1 for SubjectPublicKeyInfo. The matching type is 0 for an exact match, 1 for SHA-256, or 2 for SHA-512. The memo says TLSA does not stand for anything. It does not define a mail command.
Section 1.4 is the keyword section, and it adds no command and no mailbox. It points the requirement words at RFC 2119. The list it relies on is MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL. A requirement word is not a mailbox, and it is not the letter a buyer is about to rent. The same section limits the certificates. This document only applies to PKIX certificates, not certificates of other formats. A folder of other formats is outside the memo.
Section 2 is the record. The TLSA resource record associates a TLS server certificate or public key with the domain name where the record is found. That association is a TLSA certificate association. The record is class independent. It has no special TTL requirements. The RDATA is four fields. One octet of certificate usage, one octet of selector, one octet of matching type, and the certificate association data. Section 7.1 says the type value is 52.
Section 2.1.1 is four usages, and a quote will sell them as one badge. Usage 0 is a CA constraint. It specifies a CA certificate, or the public key of such a certificate, that MUST be found in any of the PKIX certification paths for the end-entity certificate the server presents. The presented certificate MUST pass PKIX validation, and a matching CA certificate MUST be in a valid path. Usage 1 is a service certificate constraint. It specifies an end-entity certificate, or the public key of one, that MUST match the end-entity certificate the server presents. That target certificate MUST pass PKIX validation and MUST match the record. Usage 2 is a trust anchor assertion. It specifies a certificate, or the public key of one, that MUST be used as the trust anchor when validating the end-entity certificate. The target certificate MUST pass PKIX path validation, with any certificate matching the record treated as a trust anchor for that validation. Usage 3 is a domain-issued certificate. It specifies a certificate, or the public key of one, that MUST match the end-entity certificate. The difference the memo prints is the whole point. Usage 1 requires PKIX validation. PKIX validation is not tested for usage 3. The four numbers apply only to PKIX certificates in DER encoding. Another format would need its own usage value.
Section 2.1.2 is the selector, and the memo stops to separate it from a word this desk already used. Selector 0 is the full certificate, the Certificate binary structure in RFC 5280. Selector 1 is SubjectPublicKeyInfo, the DER-encoded structure in that same document. The note in parentheses is short enough to read aloud. The use of selector in this document is completely unrelated to the use of selector in DKIM. A DKIM s= tag and a TLSA selector are two nouns. A shop that treats them as one field has left the parentheses.
Section 2.1.3 is how the association is presented. Matching type 0 is an exact match on the selected content. Matching type 1 is the SHA-256 hash of that content. Matching type 2 is the SHA-512 hash. If the matching type is a hash, the memo says that using the same hash algorithm the certificate signature used, if possible, will assist clients that support a small number of hash algorithms. Assistance to a client is not a count of letters. Section 2.1.4 says the association data is the raw selected bytes for type 0, or the hash of those bytes for types 1 and 2. The data refers to the certificate in the association, not to the TLS ASN.1 Certificate object. Section 2.2 says each of the three small fields MUST be an 8-bit unsigned integer in presentation, and the association data MUST be hexadecimal. Whitespace is allowed inside that hex string, as RFC 1035 describes.
Section 3 is the name, unless a protocol-specific specification differs. The port number, in decimal, with no leading zeros, is prepended with an underscore and becomes the left-most label. The transport name, also with an underscore, becomes the next label. The transports defined here are tcp, udp, and sctp. The base domain name is appended. Every label MUST meet the rules of RFC 952, so an internationalized name MUST use the A-label form from RFC 5890. The memo's own HTTP example is _443._tcp.www.example.com. The memo's own SMTP example is the one a solo quote will crop. To request a TLSA record for an SMTP server running STARTTLS on port 25 at mail.example.com, the name is _25._tcp.mail.example.com. A name without the port, or with a port that is not the port of the stream, is a different query.
Does a TLSA record mean that person wrote the letter?
A TLSA record associates a certificate or a public key with a domain name, a port, and a transport. Usage 3 matches an end-entity certificate and does not test PKIX validation. A DNS record is not From, and it is not the letter.
Section 4 keeps the session on the name that was queried. The TLS session MUST be for the specific port number and transport name given in the TLSA query. If a record has certificate usage 2, the corresponding TLS server SHOULD send the certificate that is referenced, just as it currently sends intermediate certificates. A certificate in the handshake is still a certificate. It is not the body a buyer approved.
Section 4.1 is the DNSSEC gate a screenshot will drop. Whether a TLSA RRset can be used MUST be based on the DNSSEC validation state. A set whose state is secure MUST be used as a certificate association unless a local policy would prohibit that specific association. If the state is bogus, TLS MUST NOT be started, or, if negotiation is already in progress, the connection MUST be aborted. A set whose state is indeterminate or insecure cannot be used and MUST be considered unusable. A client that trusts some other host to validate MUST use a secure mechanism to that validator. A secure transport to a resolver that does not validate DNSSEC is not sufficient. An unknown usage, selector, or matching type makes that association unusable. Malformed comparison data makes it unusable. A matching type or association data that uses an algorithm the client's policy considers too weak makes it unusable.
Zero usable associations means the application processes TLS in the normal fashion, with no input from TLSA. One or more usable associations means the client tries each one against the server's end-entity certificate until a match. If none match, the client MUST abort the handshake. For usage 0 or 1 to give any benefit, the application needs either a valid signed response that contains TLSA records, or verification that the domain is insecure or indeterminate. If a request meets neither test and the handshake continues, the application has gotten no benefit and SHOULD NOT indicate, internally or externally, that TLSA was applied. If TLSA use is turned on, or if anything indicates that TLSA is in use, the application either MUST NOT start TLS or MUST abort the handshake when both of those criteria fail. A shop that prints the letters TLSA beside a handshake that did not meet the criteria has left this section.
Section 6 is what a conforming client must be able to do. It MUST interpret usages 0, 1, 2, and 3. It MUST compare with selectors 0 and 1, and with matching types 0 and 1. It SHOULD be able to compare with matching type 2. SHOULD is their word for SHA-512. It is not a promise that every client on a rented stream hashed the certificate that way. Section 7.2 records the four short names: CA constraint, service certificate constraint, trust anchor assertion, and domain-issued certificate. Values 4 through 254 were unassigned. Value 255 is private use. The same private-use value sits on the selector registry and on the matching-type registry. A private-use number is not a fifth public usage.
Section 8 says the security of this record relies on DNSSEC to verify that the TLSA record has not been altered. A rogue administrator who changes the A, AAAA, or TLSA records can send a client to an unauthorized server that will appear authorized, unless the client performs PKIX validation and rejects the certificate. Usage 2 can override a revocation. If a matching certificate is treated as a trust anchor, the client would not check that certificate's revocation status. An administrator who wants to stop using a record can remove it. Normal clients stop using it after the TTL expires. Replay against the removed record is not possible after the expiration date on the RRSIG of the record that was removed. Section 8.3 is the external validator. An AD flag from a recursive resolver that the client does not authenticate can be spoofed. The memo's own conclusion is that DNSSEC validation is best performed on the host, even when a secure path to an external validator exists. An on-host check of a DNS record is still a check of a DNS record.
What should a solo ad buyer ask when a seller cites a TLSA record?
Ask which certificate usage, selector, and matching type were published, whether the DNSSEC state was secure, and whether the name is the port and transport for the stream that will send the offer. A certificate association is not the header on the letter, and a header on the letter is not the person who wrote.
You will not find the type number in the swipe. Ask for the owner name, because section 3 builds it from a port, a transport, and a base domain. Ask whether the port has a leading zero, which this memo does not allow, and whether the transport is tcp, udp, or sctp. For a mail server the memo's own example is port 25 and tcp. Ask which usage was published, using the four numbers in section 2.1.1, and ask whether usage 1 is being narrated as usage 3. One of those tests PKIX. The other does not. Ask whether the selector is 0 or 1, and do not accept a DKIM s= tag as that octet. Ask whether the matching type is 0, 1, or 2, and whether the association data is hex. Ask the DNSSEC state. Secure is usable unless a local policy refuses that association. Bogus means do not start TLS, or abort. Indeterminate and insecure are unusable. Ask whether zero usable records were then described as a successful TLSA check. Section 4.1 says zero usable records means ordinary TLS, and it says a client should not claim TLSA was applied when the signed-response test failed. Ask whether a usage 2 record is being sold as a revocation check. Section 8 says that usage can skip the revocation status of the certificate it treats as a trust anchor. A screenshot of the number 52 has not met that list.
Then keep the record out of the author check. A signing domain is compared with an address in From. A TLSA owner name does not put the rented author there. Yesterday's failure report can name one authentication failure and still not be this DNS record. The August 22 reading of SMTP DANE remains that reading. This note is the record that later use depends on. It does not turn a secure RRset into a person who opted in, and it does not turn usage 3 into a PKIX result. The October 15 reading of a DKIM selector remains that reading. Section 2.1.2 says the two uses of the word selector are unrelated. An Authentication-Results line is still a local note. A registered fail, a status code, a version-one record, a SUBMITTER parameter, and an AUTH success are each still the thing the earlier note said they were. A TLSA record can name a certificate association and still not be any of those.
If you sell the send, say the document is Standards Track and that it defines a DNS record rather than a mail command. Say TLSA does not stand for anything. Say the type value is 52. Say which usage, which selector, and which matching type you published, and say whether usage 1 or usage 3 is the one on the wire, because only one of them tests PKIX. Say the owner name, including the port and the transport, with no leading zero on the port. Say the DNSSEC state, and say what section 4.1 requires for secure, for bogus, and for indeterminate or insecure. Say a client MUST abort the handshake when usable associations exist and none match. Say a client with zero usable associations processes ordinary TLS and should not claim that TLSA was applied. Say selector here is not the DKIM selector. Say usage 2 can cause a client to skip revocation status for the certificate it treats as a trust anchor. If you will not look, say that too. The safe solo ads sellers check is the posture. This note is the difference between a TLSA record and the letter.
Keep the rest of the quote in the same place. Whether the author and the transmitter are the same mailbox. Whether Reply-To is a suggestion or is absent. Whether From is a mailbox or an empty group. Whether MAIL FROM is the same organizational domain as From. Whether d= aligns with From, and whether the signature covers the body to the last octet. Whether a later hop will rewrite the letter. Whether the disclosure sits in the letter, beside the paid link. Whether any testimonial is a use the sender can claim. Whether the exit finishes in the mailbox. Whether an authentication failure report names one of the five Auth-Failure values. Whether an authentication status code is a specific X.7 code or a generic reply. A TLSA record does not replace those. A correct reading of RFC 6698 can still sit beside a letter the quote did not describe.
Solo ad pricing sits on the live slice, the niche, and the remedy if the mail is late or pointed at the wrong page. A certificate association does not set the price. A missing TLSA record does not stand in for the refund line. The same question belongs on a solo ads for affiliate marketing buy. The affiliate link is the part a stranger most wants under a folder of usage numbers that is being sold as proof. If the quote leans on a TLSA record, ask which usage was published, and ask before the card.
When you buy solo ads, you are paying for one specific letter from one specific name. Ask whether that stream will treat a certificate association as the writer. Ask that as a separate line from the author. After the send, do the ordinary check. Clicks on a link you control, and the broadcast record, should agree the same day. If the mail went as quoted, write the new subscribers the thing you promised. If it did not, use the refund sentence you wrote before the card. The rented hour ends. A TLSA record should be a line in the quote, not a substitute for the letter the reader will actually get.