WCF ssl客户端和自签名证书

编程入门 行业动态 更新时间:2024-10-07 08:27:52
本文介绍了WCF ssl客户端和自签名证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试将wcf服务配置为使用具有自签名证书的ssl. 问题是,当我的客户端应用程序尝试连接到服务时,出现以下异常: 未提供客户端证书.在ClientCredentials中指定客户端证书" . 我可以使用WCF测试客户端连接到该服务. 我阅读了一些有关WCF和SSL的教程,据我了解,客户端也需要证书.有人可以搬走这是什么意思吗?我的意思是因为客户何时需要ssl中的证书.如果客户端需要证书,为什么WCF测试客户端可以工作? 我真的很希望有任何建议吗?

I''m trying to configure my wcf service to use ssl with a self signed certificate. The problem is that when my client application tries to connect to the service i get the following exception: "The client certificate is not provided. Specify a client certificate in ClientCredentials". I can connect to the service with the WCF test client. I read a few tutorials on WCF and SSL and from what i understood the client needs a certficate as well. Could someone please explane what this means? I mean since when does a client need a certificate in ssl. And if a client needs a certificate why does the WCF test client work? I would really appreciate any advice this?

推荐答案

阅读:如何:指定客户端凭据值 [ ^ ]

更多推荐

WCF ssl客户端和自签名证书

本文发布于:2023-11-26 09:33:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1633576.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:客户端   证书   WCF   ssl

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!