Skip to content

Commit 58659cd

Browse files
committed
The "enhancement" link relation
Another ACME option. Fourth time's the charm? :-)
1 parent a6b3f49 commit 58659cd

1 file changed

Lines changed: 30 additions & 3 deletions

File tree

draft-ietf-plants-merkle-tree-certs.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,13 +1664,25 @@ The relying party can mitigate this in a number of ways:
16641664

16651665
This section describes how to issue Merkle Tree certificates using ACME {{!RFC8555}}.
16661666

1667+
## Enhancement Link Relation
1668+
1669+
This section introduces a new link relation {{!RFC8288}}, "enhancement". It identifies an optional substitute for the original context. This substitute may be preferable in some way (e.g. it may be smaller) but is optional. Consumers that accept the substitute are expected to also accept the original context, so it is not an error if the resource is unavailable.
1670+
1671+
This is similar to the "alternate" link relation, except that it specifies the substitute is optional. In some applications, a client may fetch all alternates, so that it may forward the one of the alternates to another party. For example, {{Section 7.4.2 of !RFC8555}} describes how an ACME server uses the "alternate" link relation to server multiple certificate chains for an ACME order. An ACME client might then fetch all of them and configure them in a TLS server, which presents them to TLS clients. Different TLS clients need different chains, so the ACME client would treat any unavailable alternate as an error.
1672+
1673+
This behavior is not ideal for landmark-relative certificates, which are available asynchronously and should not block deployment of their corresponding standalone certificate. The "enhancement" link relation allows an ACME server to specify which chains are necessary to fulfill the ACME order and which are optional additions:
1674+
1675+
When serving a certificate, an ACME server MAY provide one or more link relation header fields with relation "enhancement". Each such field SHOULD express a certificate chain that the ACME server expects to be redundant with (but potentially preferable to) either the original certificate chain or one of the chains served from an "alternate" relation. If the certificate chain is not yet available, the enhancement MAY serve an HTTP 202 (Accepted) response, with a Retry-After header ({{Section 10.2.3 of !RFC9110}}) estimating when it will become available.
1676+
1677+
ACME clients can fetch enhancement URLs to collect additional alternate certificate chains. If the resource is unavailable, the ACME client SHOULD NOT fail the overall transaction. If the resource returns an HTTP 202 (Accepted) response, the ACME client SHOULD retry the request later, incorporating any Retry-After header, but it SHOULD NOT block deployment of other chains on this process.
1678+
1679+
## Using ACME with Merkle Tree Certificates
1680+
16671681
When downloading the certificate ({{Section 7.4.2 of !RFC8555}}), ACME clients supporting Merkle Tree certificates SHOULD send "application/pem-certificate-chain-with-properties" in their Accept header ({{Section 12.5.1 of !RFC9110}}). ACME servers issuing Merkle Tree certificates SHOULD then respond with that content type and include trust anchor ID information as described in {{Section 7 of !I-D.ietf-tls-trust-anchor-ids}}. {{use-in-tls}} decribes the trust anchor ID assignments for standalone and landmark-relative certificates.
16681682

16691683
When processing an order for a Merkle Tree certificate, the ACME server moves the order to the "valid" state after the corresponding entry is sequenced in the issuance log, cosignatures are collected, and the standalone certificate is available. The order's certificate URL then serves the standalone certificate, constructed as described in {{standalone-certificates}}.
16701684

1671-
The standalone certificate response SHOULD additionally carry an alternate URL for the landmark-relative certificate, as described {{Section 7.4.2 of !RFC8555}}. Before the landmark-relative certificate is available, the alternate URL SHOULD return a HTTP 503 (Service Unavailable) response, with a Retry-After header ({{Section 10.2.3 of !RFC9110}}) estimating when the certificate will become available. Once the next landmark is allocated, the ACME server constructs a landmark-relative certificate, as described in {{landmark-relative-certificates}} and serves it from the alternate URL.
1672-
1673-
ACME clients supporting Merkle Tree certificates SHOULD support fetching alternate chains. If an alternate chain returns an HTTP 503 with a Retry-After header, as described above, the client SHOULD retry the request at the specified time.
1685+
The standalone certificate response SHOULD additionally carry an enhancement URL ({{enhancement-link-relation}}) for the landmark-relative certificate, as described {{Section 7.4.2 of !RFC8555}}. Before the landmark-relative certificate is available, the enhancement URL SHOULD return a HTTP 202 (Accepted) response. Once the next landmark is allocated, the ACME server constructs a landmark-relative certificate, as described in {{landmark-relative-certificates}}, and serves it from the enhancement URL.
16741686

16751687
# Deployment Considerations
16761688

@@ -1912,6 +1924,19 @@ IANA is requested to add the following entry to the "SMI Security for PKIX Relat
19121924
|---------|-----------------------|------------|
19131925
| TBD | id-rdna-trustAnchorID | [this-RFC] |
19141926

1927+
## Link Relation Type
1928+
1929+
IANA is requested to add the following entry to the "Link Relation Types" registry {{!RFC8288}}:
1930+
1931+
Relation Name:
1932+
: enhancement
1933+
1934+
Description:
1935+
: Refers to an optional substitute for this context. Consumers that accept the substitute are expected to also accept this the original context, so it is not an error if the substitute is unavailable.
1936+
1937+
Reference:
1938+
: [this-RFC], {{enhancement-link-relation}}
1939+
19151940
--- back
19161941

19171942
# ASN.1 Module
@@ -2571,3 +2596,5 @@ In draft-04, there is no fast issuance mode. In draft-05, frequent, non-landmark
25712596
- Discuss the implications of subordinate CAs in Security Considerations
25722597

25732598
- Added subtree test vector appendix
2599+
2600+
- Switch the ACME construction to a new link relation and change the HTTP status code

0 commit comments

Comments
 (0)