Share via

Azure Api Management | ADB2C | Custom API

Abhay Chandramouli 1,061 Reputation points
2023-11-03T09:30:31.4+00:00

Hi,
I was going through this document, https://learn.microsoft.com/en-us/azure/active-directory-b2c/secure-rest-api?tabs=windows&pivots=b2c-custom-policy#https-client-certificate-authentication.

The API being called is from Azure APIM. I need to know the correct way to validate the client certificate using policies in apim.

Please suggest.

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author

JananiRamesh-MSFT 29,446 Reputation points Moderator
2023-11-03T10:52:01.65+00:00

@Abhay Chandramouli Thanks for reaching out. To validate a client certificate using policies in APIM, you can use the validate-client-certificate policy. This policy enforces that a certificate presented by a client to an APIM instance matches specified validation rules and claims such as subject or issuer for one or more certificate identities.

For more information please refer:

https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates-for-clients#policy-to-validate-client-certificates

https://learn.microsoft.com/en-us/azure/api-management/validate-client-certificate-policy

let me know incase of further queries, I would be happy to assist you.

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.