根据证书区分客户端

Distinguishing clients based on certificate

我能否根据 mTLS 客户端证书在 BizTalk 业务流程中区分客户端到我的服务?我需要根据呼叫者的不同来路由消息。

有什么好的方法吗?

您需要使用 Party Resolution Pipeline Component

When the Party Resolution component reads the incoming message, it takes two message context properties as input: WindowsUser and SignatureCertificate. The WindowsUser property is populated by the adapter, or by a custom pipeline component, with the user name of the sender when it can reliably derive the sender information. The SignatureCertificate is populated by the adapter or the MIME/SMIME Decoder pipeline component with the thumbprint of the client authentication certificate.