Reputation: 1
We have an Azure APIM behind Application Gateway, we want to implement the Certificate based authentication for the incoming requests to an specific API(s).
As per the latest update from MS, we can pass the certificate from APP Gateway to backend APIM by configuring SSL profiles and rewriting the Custom Headers X-ARR-ClientCert.
Problem in our scenario, we have a single listner to our APIM instance configured in Azure App Gateway. In a case of configuring the SSL Profile and attaching to the Listener.
Best Regards: Sai
We have tried to rewrite the headers with a Custom Header name X-ARR-ClientCert with value {var_client_certificate} in App gateway using route-path based rule and without SSL Profile configured as we do not have idea on impact it would be create in a case of attaching the SSL profile to listener
Upvotes: 0
Views: 643
Reputation: 5570
As per your scenario, we have a single listener to our APIM instance configured in Azure App Gateway. In a case of configuring the SSL Profile and attaching to the Listener.
Application Gateway supports certificates issued from both public and privately established certificate authorities. Therefore, CA certificates must be uploaded. Ensure that the client certificate's immediate issuer is verified and only permits that issuer to be trusted by your application gateway.
By default, this option is disabled, but if you want to use the application Gateway to validate the client, you can enable it through the portal.
To know more in detail, check these references.
Overview of mutual authentication on Azure Application Gateway | Microsoft Learn
Rewrite HTTP headers and URL with Azure Application Gateway | Microsoft Learn
Upvotes: 0