BizTalk 身份验证
好的,我已经成功在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果我的理解正确,您应该查看 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.
尝试客户端和服务器配置:
安装/启用基本身份验证
您可能还需要在 IIS 中安装并应用基本身份验证。
转到“程序和功能”/“打开/关闭 Windows 功能”。在 IIS 和安全性下的某处启用“基本身份验证”。
我关闭并打开 IIS 控制台,并能够在身份验证设置下启用它。
当然,如果用于开发测试,它会警告您没有 SSL 证书。
请参阅以下有关 Microsoft 的文档。
有关参考,请参阅:https://msdn.microsoft.com/en-gb/库/ff648505.aspx
Try for both client and server configs:
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