问题描述
我想使用aspnet成员资格来创建WCF服务来授权用户。但是,如果我只是需要证书的加密目的,它是否重要,如果它是一个自签名证书,或者你需要从供应商购买证书?
I want to create WCF services using aspnet membership to authorize the user. However, if I just need the certificate for encryption purposes only, does it matter if it is a self signed certificate or do you need to buy a certificate from a vendor?
推荐答案
您可以使用自签名证书,但问题是您必须在将使用证书加密的每台机器上安装证书。
You could use self-signed certificates, but the problem there is that you have to install the certificate on each and every machine that will use the certificate for encryption.
如果您有大量客户端将运行的计算机,从维护和配置的角度来看,这很容易变得令人望而却步,并且很容易证明从授权机构购买证书是正当的。
If you have a large number of machines that the clients will run on, this can easily become prohibitive from a maintenance and configuration point of view and it would easily justify the purchase of a certificate from an authority.
这篇关于WCF,自签署加密证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!