API Management forwarded client certificate validation

Ferenc Szabó 66 Reputation points
2021-09-13T14:21:03.487+00:00

Is it possible to validate client certificates coming in an HTTP header forwarded from a proxy? The same as in https://learn.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth#access-client-certificate or https://www.ietf.org/archive/id/draft-bdc-something-something-certificate-01.html
Now we check it with (context.Request.Certificate==null || !context.Request.Certificate.VerifyNoRevocation())), the question is whether we can set the context.Request.Certificate from the header

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,769 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pramod Valavala 20,591 Reputation points Microsoft Employee
    2021-09-14T08:39:11.507+00:00

    @Ferenc Szabó Since its available in the header, you could just import the certificate as an object and then call VerifyNoRevocation() on it to validate it.

    Then you can use the authentication-certificate policy to set the certificate in the request to the backend.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful