简体   繁体   English

"APIM 上的客户端证书验证"

[英]client certificate validation on APIM

I want to implement client certificate validation in Azure API Management policy to check if the client has a valid certificate as per the below documentation.我想在 Azure API 管理策略中实施客户端证书验证,以根据以下文档检查客户端是否具有有效证书。

https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates-for-clients https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates-for-clients

I have Application gateway in front of API Management service deployed in internal mode connected to vnet.我在连接到 vnet 的内部模式下部署了 API 管理服务前面的应用程序网关。

I have the same issue as mentioned in the below artile.我有与下面文章中提到的相同的问题。 The certificate is not being passed down to the APIM.证书未传递给 APIM。 Client Certificate is not being passed on by Azure Application Gateway Azure 应用程序网关未传递客户端证书

I see that there is support for Mutual Authentication with application gateway in preview mode.我看到在预览模式下支持使用应用程序网关进行相互身份验证。 Is this the only possible option to fix this issue.这是解决此问题的唯一可能选择。 Any timelines on the release for this feature on v1 application gateways. v1 应用程序网关上此功能的任何发布时间表。 https://docs.microsoft.com/en-us/azure/application-gateway/mutual-authentication-overview https://docs.microsoft.com/en-us/azure/application-gateway/mutual-authentication-overview

Will the certificate be passed to APIM gateway to validate the client certificate with this feature enabled.证书是否会被传递到 APIM 网关以验证启用此功能的客户端证书。

My APIM policy works fine when the traffic is coming to the internal endpoint when I try to access the API from within the network.当我尝试从网络内访问 API 时,当流量进入内部端点时,我的 APIM 策略运行良好。 This route doesnt pass through Application gateway in our setup and works fine.在我们的设置中,此路由不会通过应用程序网关并且工作正常。 But having trouble getting the external access enabled with client certificates但是无法使用客户端证书启用外部访问

"Will the certificate be passed to APIM gateway to validate the client certificate with this feature enabled" - no, it won't. “证书是否会被传递到 APIM 网关以验证启用此功能的客户端证书” - 不,不会。

An answer from Microsoft:微软的回答:

We do have option for mutual authentication on Application Gateway which can allow the mutual authentication between client and Application Gateway : https://docs.microsoft.com/en-us/azure/application-gateway/mutual-authentication-overview我们确实有应用程序网关上的相互身份验证选项,它可以允许客户端应用程序网关之间的相互身份验证: https ://docs.microsoft.com/en-us/azure/application-gateway/mutual-authentication-overview

However this is still in preview version, which is not included in SLA.但是,这仍然是预览版,不包含在 SLA 中。 As the mutual authentication between AppGW and the APIM we double confirmed with the backend engineers, unfortunately the answer is no we do not support such a function.作为AppGWAPIM之间的相互认证,我们与后端工程师再次确认,很遗憾答案是否定的,我们不支持这样的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM