x-forwarded-client-cert
x-forwarded-client-cert (XFCC) is a proxy header which indicates certificate information of part or all of the clients or proxies that a request has flowed through, on its way from the client to the server. A proxy may choose to sanitize/append/forward the XFCC header before proxying the request.
The XFCC header value is a comma (",") separated string. Each substring is an XFCC element, which holds information added by a single proxy. A proxy can append the current client certificate information as an XFCC element, to the end of the request’s XFCC header after a comma.
The following keys are supported:
-
By
The Subject Alternative Name (URI type) of the current proxy’s certificate. -
Hash
The SHA 256 digest of the current client certificate. -
Cert
The entire client certificate in URL encoded PEM format. -
Chain
The entire client certificate chain (including the leaf certificate) in URL encoded PEM format. -
Subject
The Subject field of the current client certificate. The value is always double-quoted. -
URI
The URI type Subject Alternative Name field of the current client certificate. -
DNS
The DNS type Subject Alternative Name field of the current client certificate. A client certificate may contain multiple DNS type Subject Alternative Names, each will be a separate key-value pair.
Some examples of the XFCC header are:
- For one client certificate with only URI type Subject Alternative Name:
x-forwarded-client-cert: By=http://frontend.lyft.com;Hash=468ed33be74eee6556d90c0149c1309e9ba61d6425303443c0748a02dd8de688;Subject="/C=US/ST=CA/L=San Francisco/OU=Lyft/CN=Test Client";URI=http://testclient.lyft.com`
check mtls traffic
|
|