为WCF客户端实现基于证书的身份验证 - 使用net.tcp绑定进行服务器通信 [英] Implement certificate based authentication for WCF client - server communication with net.tcp binding

查看:75
本文介绍了为WCF客户端实现基于证书的身份验证 - 使用net.tcp绑定进行服务器通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

服务器A - 使用Nettcp绑定在IIS中托管的WCF服务(中央服务)

服务器B - 作为Windows服务托管的WCF服务。



服务器A和服务器B在同一网络上。



当窗口服务要求服务器A中的中央服务数据时,我需要验证其客户端认证。 br />


我找不到完整的一步一步的网站来实现这个目标。

我是否必须为此配置OnetoOneCertificateMapping概念? />


请帮助我完成IIS中的服务器配置,客户端配置,证书配置



我是什么尝试过:



我试图使用makecert.exe实现相同的功能,并在IIS中配置相同的功能。但到目前为止没有运气。请帮忙。

Server A - WCF service hosted in IIS with Nettcp binding (Central service)
Server B - WCF service hosted as Windows service.

Server A and Server B are on same network.

When window service asks for data to Central service in Server A, I need to validate its client certification.

I could not find complete step by step site to achieve this.
Should i have to configure the OnetoOneCertificateMapping concept for this??

Kindly help me with the server configuration,client configuration, certificate configuration in IIS

What I have tried:

I have tried to achieve the same using makecert.exe and configure the same in IIS. But no luck so far. Kindly help.

推荐答案

消息安全与相互证书| Microsoft Docs [ ^ ]

带证书认证的传输安全性| Microsoft Docs [ ^ ]


这篇关于为WCF客户端实现基于证书的身份验证 - 使用net.tcp绑定进行服务器通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆