简体   繁体   English

WCF消息安全性证书

[英]Certificate for WCF message security

I am developing a WCF service and Windows forms client and using message security (authenticate with user name, password, and certificate (public and private key) at server, server public key at client). 我正在开发WCF服务和Windows窗体客户端,并使用消息安全性(在服务器上使用用户名,密码和证书(在公钥和私钥)进行身份验证,在客户端使用服务器公钥进行身份验证)。 Verified with temporary certificate using makecert. 使用makecert通过临时证书进行了验证。

Now I need to publish my application in GoDaddy. 现在,我需要在GoDaddy中发布我的应用程序。

Can I use the SSL Certificate from GoDaddy for WCF message security (WS-Security) or do we need to buy a different type of certificate? 我可以将GoDaddy的SSL证书用于WCF消息安全性(WS-Security),还是需要购买其他类型的证书?

It is possible, but it means you would have to have the GoDaddy SSL certificate installed on every client. 可以,但是这意味着您必须在每个客户端上都安装GoDaddy SSL证书。 Normally you would not expect the SSL certificate itself to be installed on a client, instead you would have a certificate from somewhere higher in the certificate issuer chain installed and verify the GoDaddy SSL certificate by chaining. 通常,您不希望将SSL证书本身安装在客户端上,而是从证书颁发者链中较高位置安装证书,然后通过链接验证GoDaddy SSL证书。

However, if you are able to distribute the GoDaddy cert (minus the private key, obviously) with your client application then you should be able to do it. 但是,如果您可以随客户应用程序一起分发GoDaddy证书(显然要减去私钥),那么您应该可以这样做。 Certificates generally have Purpose, which is the intended use of them. 证书通常具有目的,这是它们的预期用途。 I imagine your GoDaddy certificate would have an intended use of SSL only, but I don't think that really matters. 我以为您的GoDaddy证书只能用于SSL,但我认为这并不重要。

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

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