mirror of
https://github.com/go-gost/x.git
synced 2026-10-19 16:16:32 +00:00
Extracts the verified mTLS peer certificate (CN, SANs, SHA-256 fingerprint) from the TLS connection in the HTTP handler after the handshake completes, stores it in the request context, and forwards it to both gRPC and HTTP auth plugins via new AuthenticateRequest fields (client_cn, client_san, client_cert_fingerprint).