简体   繁体   English

如何为WCF实现2路SSL证书

[英]how to implement 2-way SSL certificate for WCF

I am a newbie to WCF so trying to figure out how to implement 2way ssl certficate authentication for WCF service i need to host. 我是WCF的新手,因此尝试找出如何为需要托管的WCF服务实施2way ssl证书身份验证。 The consumer of the service would provide us with there certificate and we are supposed to provide them with ours. 服务的消费者会向我们提供那里的证书,而我们应该向他们提供我们的证书。

The part i don't understand and would appreciate help is how to do we go about it in the way of either 1. articles pointing out the steps or 2. Code samples. 我不理解并希望获得帮助的部分是如何通过1.指出步骤的文章或2.代码示例的方式进行操作。

Thanks. 谢谢。

The following web pages provide a fairly comprehensive overview of a Windows Communication Foundation (WCF) service and client secured using mutual certificate authentication. 以下网页提供了Windows Communication Foundation(WCF)服务和使用相互证书身份验证保护的客户端的相当全面的概述。 The code and configuration in the articles were helpful when our team first tackled WCF services with mutual x509 certificate authentication. 当我们的团队首次使用相互x509证书身份验证解决WCF服务时,文章中的代码和配置会有所帮助。

http://msdn.microsoft.com/en-us/library/ms733102(v=vs.110).aspx http://msdn.microsoft.com/en-us/library/ms733102(v=vs.110).aspx
http://www.codeproject.com/Articles/348595/Use-Mutual-SSL-Authentication-in-WCF http://www.codeproject.com/Articles/348595/Use-Mutual-SSL-Authentication-in-WCF

Regards, 问候,

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

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