client-certificate-auth API Reference
client-certificate-auth API Reference / extractor / ExtractorOptions
Interface: ExtractorOptions
Defined in: extractor.js:70
Properties
certificateHeader?
optionalcertificateHeader?:string
Defined in: extractor.js:74
Custom header name. Trust boundary: the proxy must strip this header from external requests; any source that can set it is trusted to assert client identity.
certificateSource?
optionalcertificateSource?:"aws-alb"|"aws-alb-verify"|"azure-app-service"|"cloudflare"|"cloudflare-rfc9440"|"envoy"|"traefik"
Defined in: extractor.js:71
Preset configuration. Trust boundary: the proxy must strip the preset's header from external requests; any source that can set it is trusted to assert client identity.
chainHeader?
optionalchainHeader?:string
Defined in: extractor.js:77
Optional second header carrying the certificate chain alongside the leaf. Split on commas per RFC 9440, each item parsed with the same headerEncoding, results linked via issuerCertificate. For non-RFC-9440 encodings the comma split may not match the encoding's list convention.
fallbackToSocket?
optionalfallbackToSocket?:boolean
Defined in: extractor.js:82
Try socket if header extraction fails
headerEncoding?
optionalheaderEncoding?:"url-pem"|"url-pem-aws"|"xfcc"|"base64-der"|"rfc9440"
Defined in: extractor.js:81
Header encoding
includeChain?
optionalincludeChain?:boolean
Defined in: extractor.js:83
Include issuerCertificate chain
verifyHeader?
optionalverifyHeader?:string
Defined in: extractor.js:84
Header name for upstream verification status
verifyValue?
optionalverifyValue?:string
Defined in: extractor.js:85
Expected value for successful verification