The short version

  • RFC 9598 puts a mailbox with a non-ASCII Local-part into an X.509 otherName as SmtpUTF8Mailbox. An ASCII-only Local-part stays in rfc822Name — even when the domain itself is internationalized.
  • The domain is lowercased into IDNA2008 A-label form. The UTF-8 Local-part is not case-folded, not normalized, not touched. After domain preparation, mailbox identity is an octet-for-octet comparison.
  • A matching name is a receipt for one comparison. Certification-path validity, name constraints, certificate purpose, mailbox control, SMTPUTF8 reachability, local authorization and observed delivery are separate evidence, separately owned.

Two email addresses walk into a validator. On screen they are the same sequence of characters. Their domains resolve to the same familiar name. A generic Unicode library cheerfully reports that both strings normalize to the same display form — and the obvious implementation, normalize both, compare, declare a match, takes about four lines of code.

Under RFC 9598, those four lines can be the wrong security decision. The domain and the Local-part sign different comparison contracts. Domain labels get converted from Unicode U-labels to ASCII A-labels and then lowercased. The Local-part gets nothing at all. If its UTF-8 octets differ, the mailboxes do not match, however persuasive the rendering.

That is not a quirk at the edge of the standard. It is the control boundary the document exists to draw.

One mailbox namespace, two certificate forms

The RFC Editor record and IETF Datatracker identify RFC 9598 as a May 2024 Proposed Standard. It updates the PKIX profile in RFC 5280 and obsoletes RFC 8398.

Traditional rfc822Name can carry an ASCII mailbox. It cannot represent a non-ASCII Local-part from the internationalized-email model. RFC 9598 therefore reaches into the extensible otherName branch of X.509 GeneralName and assigns SmtpUTF8Mailbox the object identifier 1.3.6.1.5.5.7.8.9 — an allocation the IANA SMI Numbers registry duly records.

The fork in the road is decided by the Local-part, which is a strange place to put it and the only place that works. Non-ASCII Local-part: the certificate must use SmtpUTF8Mailbox. ASCII-only Local-part: the certificate must use rfc822Name, even when the domain is internationalized. One visible mailbox namespace, two mutually exclusive certificate forms.

That rule is an inventory problem before it is a validation problem. A parser that looks only for rfc822Name will quietly miss every internationalized Local-part. A generator that stuffs an ASCII Local-part into SmtpUTF8Mailbox produces an artifact outside the RFC's compatibility contract. A validator that converts one GeneralName type into the other after parsing has erased the evidence of what the certificate actually carried.

The value is an envelope mailbox, not a display address. Phrases, comments and angle brackets are not part of the certificate identity. SmtpUTF8Mailbox holds a non-empty ASN.1 UTF8String, and its UTF-8 encoding must not begin with a byte-order mark. The underlying UTF-8 boundary comes from RFC 3629; the internationalized message context is bounded by RFC 6532.

The domain gets prepared because it has a preparation contract

The domain side follows IDNA2008. RFC 5890 supplies the A-label, U-label and LDH vocabulary. RFC 5891 supplies the protocol conversions. RFC 9598 requires every email-address domain in an X.509 certificate to conform to IDNA2008 without leaning on the mappings discussed in the framework.

Inside SmtpUTF8Mailbox, a non-ASCII domain label is stored as an A-label, not a U-label. ASCII labels must satisfy the NR-LDH restrictions. Every A-label and NR-LDH letter in the domain is lowercase. The certificate therefore carries exactly one comparison form, and a path validator is spared the job of converting certificate domain labels back into Unicode.

When the candidate address arrives from user input, a message or some other external source, the validator does limited setup: strip display syntax, convert any domain U-label to its A-label, lowercase the eligible domain letters. Then it stops. This is canonicalization with a named scope — not a licence to polish the entire mailbox.

That narrower rule is the principal repair over RFC 8398, which conditionally allowed A-labels or U-labels. RFC 9598 picks A-labels in every certificate case. Publishing a cleaner representation does not prove that issuers, path builders and relying applications have all deployed it, but it hands them an output they can test.

The Local-part stays byte-exact because no universal mapping exists

The Local-part comes from the internationalized-mail framework in RFC 6530 and the SMTP extension in RFC 6531. It is UTF-8 — but UTF-8 is an encoding, not a universal mailbox-equivalence rule.

RFC 9598 says the Local-part must not be transformed. No case folding. No Unicode normalization. No compatibility mapping. Once the domain has been prepared, the resulting mailbox is compared octet for octet. Two already-encoded SmtpUTF8Mailbox values need no setup at all: exact bytes decide equivalence. An SmtpUTF8Mailbox and an rfc822Name always fail to match, because the former requires a non-ASCII Local-part and the latter cannot contain one.

The strictness is the point: it protects authority from presentation. Unicode permits visually similar characters, and user-perceived text can have several encodings. A normalization library is excellent for search and display. It cannot be silently promoted into the certificate identity function. If the certification authority encoded one byte sequence and the mail system provisioned another, the safe result is a mismatch worth investigating, not a guessed equivalence.

The tradeoff is real. A human may see the same name twice while the validator rejects it, and RFC 9598 acknowledges the interoperability cost. The alternative is worse: local library behaviour quietly redefining a signed identity after issuance, which makes the relying party — not the certificate and its governing profile — the author of the name.

Name constraints fence the pasture; they do not create the cow

rfc822Name and SmtpUTF8Mailbox inhabit the same email-address namespace. Legacy certification authorities may already be constrained to a domain through rfc822Name name constraints, and without an update a new otherName could appear to hop the fence.

RFC 9549 updates the PKIX internationalization rules so those constraints cover both forms. A CA certificate expresses email constraints through IDNA2008-conformant rfc822Name values in A-label form. The comparison prepares the subject's domain, removes the Local-part, and performs an exact host or domain-suffix test. Constraints aimed at one particular mailbox should not be used at all.

That mechanism answers an issuing-scope question: was this mailbox domain inside the subordinate CA's permitted namespace? It does not answer whether the mailbox exists, whether the subject currently controls it, whether the key suits the attempted operation, or whether the relying application should grant anything.

A complete validation receipt therefore carries at least four distinct statements. The artifact contained the expected GeneralName form and the exact bytes. The mailbox comparison succeeded under the RFC 9598 algorithm. The certification path and applicable name constraints succeeded under the relevant trust policy. The application accepted this certificate for this purpose. Even all four do not prove a message could traverse an SMTPUTF8-capable path.

Matching is not delivery, and delivery is not authorization

The separation from SMTPUTF8 transport is decisive. RFC 6531 lets SMTP participants advertise and use internationalized envelope addresses. A certificate can match a mailbox while the next relay lacks the capability. Conversely, a message can travel an SMTPUTF8-capable route without presenting any RFC 9598 certificate at all.

The same separation governs control. A certification authority may have validated an address under its practice. A relying party still needs the intended trust anchor, path, policy, key usage or extended key usage, revocation state, application binding and current authorization rule. A signature can validate while the requested action remains forbidden. A mailbox can receive a message while nobody reads it. A login can succeed while the change that follows fails.

Lu Heng's essay on running-code primacy makes the operational test concrete. "Supports RFC 9598" is not a result. The result is a trace that preserves the certificate bytes, the parser output, the prepared external domain, the untouched Local-part, the comparison, the path, the constraints, the policy decision, the action and the effect.

The minimum-initial-specification lens explains why the RFC stays narrow. It standardizes a name form and a comparison rule without centralizing mailbox provisioning, CA evidence, application permission or transport operations. The essay on reality layers supplies the discipline: a represented name, a matched name, a valid certificate, a controlled mailbox, an authorized action and an observed outcome are related records, not synonyms.

The leadership consequence is simple and demanding. Stop asking one green "certificate valid" light to speak for all of them.

Sources