BizTalk 身份验证

发布于 2024-12-14 14:01:05 字数 180 浏览 3 评论 0原文

好的,我已经成功在 BizTalk 中使用 SSL。现在我正在尝试学习如何使用 WCF-BasicHttp 进行身份验证。我尝试使用 UserNamePasswordValidator 的选项,但没有成功。

伙计们,我已经安装了根 CA 证书,我有服务器证书和客户端证书。如何查明到底是谁向我发送了消息?

OK, I've managed to use SSL in BizTalk. Now I'm trying to learn how to authenticate using WCF-BasicHttp. I tried to use an option with UserNamePasswordValidator but I haven't succeed.

Guys, I have Root CA certificate installed, I have server certificate and clients certificates. How can I find out who exactly sent me a message?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

反话 2024-12-21 14:01:05

如果我的理解正确,您应该查看 BizTalk 各方和各方解决组件。

虽然它与 WCF 集成存在一些问题。
我将从此处开始阅读这篇文章。我还建议您检查收到的消息并查看它的上下文属性。 WCF 有可能将证书信息写入其中,而您最终可能只得到一个自定义方解析组件,而没有 WCF 扩展。

If I got you right, you should look at BizTalk Parties and Party Resolution components.

Though there are some problems integrating it with WCF.
I would start with this article here. Also I recommend you to inspect received message and see it context properties. It's possible that WCF writes certificate information in one and you could endup with only a custom party resolve component, without WCF extensions.

自由如风 2024-12-21 14:01:05

尝试客户端和服务器配置:

 <basicHttpBinding>
 <bindingname="BasicHttpBinding_IService">
 <security mode="TransportCredentialOnly">
 <transport clientCredentialType="Basic"/>
 </security>       
 </binding>
 </basicHttpBinding>

安装/启用基本身份验证
您可能还需要在 IIS 中安装并应用基本身份验证。
转到“程序和功能”/“打开/关闭 Windows 功能”。在 IIS 和安全性下的某处启用“基本身份验证”。

我关闭并打开 IIS 控制台,并能够在身份验证设置下启用它。

当然,如果用于开发测试,它会警告您没有 SSL 证书。

请参阅以下有关 Microsoft 的文档。
有关参考,请参阅:https://msdn.microsoft.com/en-gb/库/ff648505.aspx

Try for both client and server configs:

 <basicHttpBinding>
 <bindingname="BasicHttpBinding_IService">
 <security mode="TransportCredentialOnly">
 <transport clientCredentialType="Basic"/>
 </security>       
 </binding>
 </basicHttpBinding>

Install/Enable basic authentication
You may also need to install and apply basic authentication in IIS.
Goto "Programs and Features" / "Turn windows features on/off ". Enable "basic authentication" somewhere under IIS and security.

I closed and opened the IIS console and was able to enable it under authentication settings.

This of course if for a development testing and it warns you about not having an SSL certificate.

Please refer below document on Microsoft.
For reference see: https://msdn.microsoft.com/en-gb/library/ff648505.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文