yaronf / I-D

Internet Drafts
Other
5 stars 14 forks source link

clarification needed with regards to the "allow-certificate-get" field #172

Closed thomas-fossati closed 3 years ago

thomas-fossati commented 3 years ago

From IANA Designated Expert review (Richard Barnes)

The "allow-certificate-get" field is listed as configurable.
It seems like this is a matter of CA policy, so it should either
be non-configurable, or if you allow the client to request a
value for it, there should be a clear specification that the
server is allowed to ignore the client's preference.
yaronf commented 3 years ago

Should be configurable, because it is negotiated with the server, just like all other configurable parameters. The server is free to refuse per its policy, of course. However for Delegation, we need to add an error signal from the IdO to the NDC in such cases, because the NDC would not be able to pull the new certificate.

yaronf commented 3 years ago

cc @bifurcation.

thomas-fossati commented 3 years ago

In general, I don't think have the luxury of a synchronous transaction on which to attach an explicit error response. So I propose we say something along the following lines:

err: the IdO MUST set the "allow-certificate-get": false (at the appropriate nesting level, depending on the client's request) and move the order state to invalid.

The combination of "status": "invalid" and "allow-cert-get": false tells (unambiguously) the NDC that the reason why the order failed is because of unsupported allow-cert-get on the CA side.