WCF ssl客户端和自签名证书 [英] WCF ssl client and self signed cerificates
问题描述
我正在尝试将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客户端和自签名证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!