跳到主要内容

2.3. Client-Cert-Chain HTTP Header Field

2.3. Client-Cert-Chain HTTP Header Field

在 TLS terminating reverse proxy deployment 的上下文中, proxy MAY 使用 Client-Cert-Chain HTTP header field 向 backend application 提供 certificate chain.

Client-Cert-Chain 是 List ([STRUCTURED-FIELDS] 第 3.1 节). List 中的每个 item MUST 是按第 2.1 节所述编码的 Byte Sequence. 顺序与 TLS 中的顺序相同 (如 [TLS] 第 4.4.2 节所述).

除非 Client-Cert 也存在, 否则 Client-Cert-Chain MUST NOT 出现, 并且它本身不包含已存在于 Client-Cert 中的 end-entity certificate. 如果已知 target origin server 拥有被省略的 trust anchor, 则 root certificate MAY 从 Client-Cert-Chain 中省略.

Client-Cert-Chain header field 仅用于 HTTP requests, MUST NOT 用于 HTTP responses. 它 MAY 具有值列表, 或在一个 request 中出现多次. 出于 header compression 目的, 将 lists 拆分为多个 instances 可能有利.

Appendix A 中的 Figure 3 给出了 Client-Cert-Chain header field 的示例.