Fast::ClientCert implements RFC 9440 — the two request fields a TLS-terminating reverse proxy sends to convey the client certificate of a mutually authenticated TLS connection, as frozen value objects over fast-sfv: Cert (the Client-Cert field, a singleton Byte Sequence Item carrying the end-entity certificate with fail-closed recipient semantics — a malformed field answers nil, the unauthenticated connection) and Chain (the Client-Cert-Chain field, a List of Byte Sequences in TLS order that MAY split across field instances), plus the four pure-Ruby PEM conversion helpers — the RFC 9440 2.1 string surgery in both directions, no OpenSSL, DER bytes opaque. One runtime dependency, fast-sfv.
Required Ruby Version
>= 3.4
Required Rubygems Version
>= 3.5.3
Authors
Eric Jacobs
Versions
-
0.1.0
-
source
- 0.1.0 source November 26, 2026 (17.5 KB)
-