The short version
- RFC 9646 runs two
get-bootstrapping-datacalls with an HTTP 400 wedged between them. Capability, server selection and the returned CSR are three separate records — not one verdict. - A CSR signature proves the sender held a private key at that instant. It proves nothing about device origin, CA approval, certificate delivery, installation or authorized use.
- Because the
csr-requestrides inside an HTTP error that cannot be signed as SZTP bootstrapping data, the mechanism must never be used through an untrusted bootstrap server.
The red status was an instruction
A monitoring dashboard sees 400 Bad Request and opens a ticket. The device sees the same bytes and does exactly what it was told: it generates a key and builds a certificate request. Both readings are correct. Only one of them is useful.
RFC 9646 extends Secure Zero Touch Provisioning so a device can walk away from onboarding holding a production-purpose identity certificate. The choreography is odd enough to break any dashboard that treats HTTP status codes as verdicts rather than verbs.
The device opens with RFC 8572’s get-bootstrapping-data call. Inside a csr-support node it declares whether it can mint a fresh asymmetric key, which algorithms it speaks and which CSR formats it can produce. The server does not answer with onboarding data. If it wants a CSR, it replies HTTP 400 and stuffs a csr-request structure into RESTCONF error-info.
That structure picks the key algorithm and request format and may carry certificate-request content. The device then makes a second get-bootstrapping-data call, this time hauling a PKCS #10, CMC or CMP request. Only after the server, registration authority or certification authority validates and approves does onboarding information come back — possibly with the signed certificate inside.
So the first operational mistake is semantic compression. A transport observer sees 400 and logs failure. A protocol observer sees the selected branch. Neither observation proves a certificate was issued. A good receipt keeps both meanings alive: the response was syntactically an HTTP client error and functionally the expected request for the next SZTP step.
Capability is not execution
The first message advertises possibility. A list of supported algorithms does not reveal which one the device used. A list of formats does not reveal whether it later produced p10-csr, cmc-csr or cmp-csr. A claim that a fresh key can be generated does not show that a new key appeared, that its randomness was worth anything, or that its private half stayed inside an approved security boundary.
The server’s reply narrows the possibility: it picks an algorithm and a format. A selection is still an instruction, not an accomplished key ceremony. The device must generate or choose the key, build the requested object and send the second call. Every transition can fail on its own, and each one needs its own record.
The discipline is Lu Heng’s Minimum Initial Specification: standardize the smallest interoperable exchange, then leave local policy visible instead of smuggling it into the shared vocabulary. RFC 9646 standardizes the handoff. It does not standardize a universal CA approval policy, an installation method or a right to use the identity that falls out.
Possession and origin answer different questions
All three request forms can carry a public key and a request signed by the matching private key. The server verifies proof of possession by checking that signature against the public key in the CSR. Strong, narrow result: whoever built the request controlled that private key at that moment.
It is not proof of origin. A raw PKCS #10 object has no origin-authentication facility inside the CSR structure. Origin may be inferred from an authenticated TLS or HTTP relationship — but then the audit must preserve that external identity and its binding to the request. A detached CSR filed away without its session context cannot borrow origin from the fact that its signature verifies.
CMC and CMP offer richer choices. They can bind a freshly generated local-device key to an existing manufacturer identity, or protect the request with a shared secret. They can also pass through a registration authority before reaching the CA. Those mechanisms improve the evidence on the table; they do not make every request legitimate. The verifier still has to validate the manufacturer certification path, the shared-secret reference or the protocol protection, and then apply its issuance policy.
When an existing IDevID key is reused, RFC 9646 says origin verification includes validating the IDevID certification path and confirming the CSR uses the same key pair. When a fresh key is used, CMC or CMP can carry origin authentication based on the manufacturer key or a shared secret. Different evidence routes. Reporting all of them as “CSR verified” erases the decision that actually matters.
Freshness has a receipt of its own
RFC 9646 recommends a new private key for each request. If the device really generates one after the server asks, the key’s randomness doubles as a nonce. When the returned signed certificate contains that fresh public key, the device gains evidence that the response belongs to the current exchange and not to a replay of an older certificate.
That property evaporates if the implementation claims fresh generation and quietly reuses a key. It is weaker still when the manufacturer key is deliberately reused: the key may be beautifully protected, but it does not distinguish this request from an earlier one by freshness alone.
There is a real trade-off. The RFC recommends HSM or TPM protection for the dynamic key. If a newly generated key cannot be protected as well as the built-in manufacturer key, it recommends reusing the better-protected built-in key rather than manufacturing a weaker secret just to claim freshness. Security cannot be reduced to “new is better.” The receipt should state which key path was used, why, where the private key lived and which replay property followed.
The unsigned middle message fixes the trust boundary
RFC 8572 permits a special path: a device contacts a bootstrap server it does not yet trust and relies on signed bootstrapping data. RFC 9646 cannot simply inherit that protection. Its csr-request travels inside an HTTP error message, and that error cannot be signed as RFC 8572 bootstrapping data.
The consequence is explicit. The CSR mechanism cannot be used when the client connects to an untrusted bootstrap server. In that situation the client should not send csr-support at all; it should ask for signed data instead. This is not an optional hardening preference. It is a boundary created by the location of an authoritative instruction.
An implementation that accepts a selected algorithm, subject content or request format from an untrusted server is not merely missing a log field. It has let an unsigned party shape the device’s production identity request. A compliant-looking CSR later in the exchange cannot repair that earlier authority failure.
Issuance is not delivery, and delivery is not use
After receiving the CSR, the server may work with a registration authority or CA to validate origin and possession and decide whether to issue. That decision can fold in inventory, ownership, policy, requested attributes and operational approval. RFC 9646 does not collapse these checks into the CSR signature.
Nor does it define exactly how the signed certificate is carried inside onboarding information. It gives examples involving configuration and the RFC 9642 keystore, but the conveyance choice sits outside its scope. A deliberate boundary between issuance and transport.
Installation creates another. The certificate must be associated with the intended key, committed to the intended store and selected by the intended service. First successful authentication creates yet another receipt. A returned onboarding response does not prove the device installed the certificate; an installed certificate does not prove a peer accepted it; a successful TLS session does not prove the application authorized the requested action.
Lu Heng’s Running-Code Primacy is the right lens: privilege the executed transitions and their effects over the symbolic comfort of a complete model. The YANG modules describe a common exchange. The evidence chain shows which branch ran.
Build the enrollment receipt
Start with the trusted relationship: bootstrap-server identity, trust-anchor path, TLS and HTTP authentication facts, and whether signed-data-preferred or csr-support was sent. Preserve the first request, including device nonce, hardware and software identifiers, supported algorithms and formats.
Record the HTTP 400 as a protocol transition. Store the exact csr-request, its selected algorithm and format, requested certificate information, response time and correlation identifier. Then capture key generation or reuse: public-key fingerprint, entropy or HSM evidence, private-key protection boundary and whether the key is fresh for this exchange.
For the second request, hash the CSR and record its format. Verify proof of possession separately from proof of origin. Name the IDevID path, shared secret, TLS identity or HTTP identity used for origin, and preserve the RA/CA policy decision, approver and issued-certificate fingerprint.
Finally, record how the certificate entered onboarding information, how it was installed, which key it matched, which service selected it, the first successful peer validation and the eventual reset or rotation event. Reality Layers makes the principle plain: status code, instruction, possession, origin, institutional approval, installed state and operational effect are adjacent realities, not interchangeable verdicts.
The dashboard will keep painting 400 red. Let it. The job is to make sure the receipt underneath says what actually happened — and who was allowed to decide.
Sources
- Heng Lu — Minimum Initial Specification
- Heng Lu — Reality Layers and Symbolic Power
- Heng Lu — Running-Code Primacy
- IETF Datatracker — RFC 9646 history
- RFC Editor — RFC 9646 information
- RFC 9646 — HTML
- RFC 9646 — canonical text
- RFC 9646 — XML source
- RFC 9646 — errata search
- IANA — YANG parameters
- RFC 2986 — PKCS #10
- RFC 4210 — CMP
- RFC 5272 — CMC
- RFC 7950 — YANG 1.1
- RFC 8040 — RESTCONF
- RFC 8572 — Secure Zero Touch Provisioning
- RFC 8808 — factory-default settings
- RFC 9640 — YANG cryptographic types
- RFC 9642 — YANG keystore
- RFC 4086 — randomness requirements
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






