Can the Application Gateway passthrough a client certificate so it can be recognised by APIM?

gaur 211 Reputation points
2022-01-20T09:53:27.6+00:00

Can the Application Gateway passthrough a client certificate so it can be recognised by APIM?
in our case it is not validating the certs

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
576 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
957 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andriy Bilous 10,901 Reputation points MVP
    2022-01-21T20:52:42.867+00:00

    Hello @gaur

    Application Gateway allows you to add, remove, or update HTTP request and response headers while the request and response packets move between the client and back-end pools.
    167267-image.png

    You are using Mutual Authentication and have set your SSL profile to mutually validate client request, but the request sent to the APIM does not consists of X-ARR-ClientCert header.

    Application Gateway can passthrough a client certificate but you need to rewrite HTTP header with a Custom Header name X-ARR-ClientCert with value {var_client_certificate} in Application Gateway.

    As the Mutual Authentication is still in preview some features might not work as expected and it is currently not recommended for production environments.

    https://stackoverflow.com/questions/69166457/azure-application-gateway-client-certificates-headers

    https://learn.microsoft.com/en-us/answers/questions/554635/azure-application-gateway-client-certificates-head.html


0 additional answers

Sort by: Most helpful