Skip to content

not all proxies offer the full certificate #1

@panva

Description

@panva

Edit: I can see the The Whole Certificate and Only the Whole Certificate section so feel free to ignore this if there's no interest in defining the individual certification information headers.


This comes from evaluating this for an RFC8705 implementation, which, contrary to what the main body currently says does not need the full certificate value - its SHA256 fingerprint is enough for self_signed_tls_client_auth and token constraining.

It is, unfortunately, not the case that all proxies allow to access the whole certificate as a value. Plus when they do they may encode it differently (e.g. caddy escapes the cert?).

It'd be great, given this draft would move forward, to also think about individual useful "component" headers.

e.g.

  • Client-Cert-Fingerprint-SHA256
  • Client-Cert-Fingerprint-SHA1
  • Client-Cert-SubjectDN
  • Client-Cert-SAN-*
  • etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions