An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
With the currently documented Application Gateway for Containers features, mTLS termination and dynamic client-certificate header forwarding are separate capabilities. FrontendTLSPolicy can validate the client certificate, and access logs expose frontendTLSPeerFingerprint, but that fingerprint is not available as a request-header rewrite variable. The Gateway API RequestHeaderModifier can set static header values; it cannot populate a per-request thumbprint from the TLS session.
Also, frontend mTLS on a listener requires a valid client certificate, so one listener cannot simultaneously make mTLS optional for some clients. Use separate hostnames/listeners: one HTTPS listener with FrontendTLSPolicy for mTLS clients and another normal HTTPS listener for other clients, both routing to the same service.
If the backend must receive and validate the certificate or thumbprint, terminate mTLS in an in-cluster proxy/service mesh or use Application Gateway v2, which supports client-certificate server variables and rewrite rules. Never trust a client-supplied fingerprint header; strip it at the edge.