Summary

  • RFC 5280, May 2008, states that each certificate extension "is designated as either critical or non-critical", and that a system "MUST reject the certificate if it encounters a critical extension it does not recognize".
  • A non-critical extension "MAY be ignored if it is not recognized, but MUST be processed if it is recognized" — which loads the entire burden of forward compatibility onto one boolean.

Extensibility needs a rule for ignorance

Every format that grows has to answer an awkward question: what should an old reader do with a field it has never seen? There are only three answers, and two of them are wrong in interesting ways. Ignore the field, and you may miss a constraint that mattered. Reject anything unknown, and you shatter on a harmless addition. Or — the clever one — let whoever writes the field decide which kind of field it is.

RFC 5280 takes the third option and makes the choice explicit. Every extension carries a boolean called critical, defaulting to false. Set it, and a conforming implementation must reject the whole certificate when it cannot process that extension. Leave it clear, and an unrecognised extension may be skipped — while a recognised one must still be applied.

That is a scrap of syntax carrying an entire constitutional theory: the issuer gets to declare, in advance, how dangerous it is to be ignorant of it.

The cost of shouting

Critical extensions are dangerous in the obvious way. Mark a feature critical and every client that has not implemented it will throw the certificate away. Nothing degrades gracefully; the certificate simply stops working for them.

The spec knows this, and says so in one line: "caution ought to be exercised in adopting any critical extensions in certificates that might prevent use in a general context." A CA that marks everything critical has, in effect, issued a certificate for the subset of the world that happens to agree with it.

The opposite mistake is quieter and, in the end, more expensive. A constraint marked non-critical can be shrugged off by any client that does not recognise it, so a real restriction travels no further than the clients that already implement it. The rule exists. It just does not bind the people it was written for.

The two bits that build a hierarchy

All that advice about ignoring extensions gets interesting when the extensions themselves define the hierarchy. Basic constraints carries a cA boolean and a path length, and between them they decide who is allowed to make more certificates.

Section 4.2.1.9 is precise about the default: if the extension is absent, or present without cA asserted, "the certified public key MUST NOT be used to verify certificate signatures". Being a certificate authority is not a state a certificate inherits by omission. It is a claim someone has to make, in writing, in the right field.

Then pathLenConstraint caps how many intermediates may follow, and a value of zero permits none. That single integer is the difference between a CA that can sign other CAs and one that can only sign leaves — between a franchise and a shop.

The algorithm that has to be equivalent

Section 6.1 lays out a path validation procedure and asks only that implementations behave the same way from the outside, while repeating the rule that matters: a client must reject a certificate containing an unsupported critical extension.

So the spec tolerates partial implementations and then makes partiality visible in the output. That is the whole trick of the design: it does not demand that everyone understand everything, only that everyone admit what they do not.

What twenty years of certificates shows

Extensions now carry policies, name constraints, key usages and revocation pointers; private ones carry whatever a community wanted. The mechanism has held because the alternative — silently ignoring a constraint that was meant to bind — produces the sort of failure that is discovered years later by someone reading an audit and asking a very quiet question.

The bit is unglamorous, and it is the reason a certificate can be extended at all. Without a way to say "this part matters", every addition would be either ignored by everyone or fatal to someone. One boolean is what stands between extensibility and entropy.