我创建了一个带有用户名/密码自定义身份验证的WCF服务:
<userNameAuthentication userNamePasswordValidationMode="Custom"
customUserNamePasswordValidatorType="CCService.CustomUserNameValidator,CCService" />
<serviceCertificate findValue="0d a6 2d 39 e1 28 ca f4 df af a9 90 21 ca c5 67 b8 61 b8 63" x509FindType="FindByThumbprint" storeLocation="LocalMachine" storeName="My" />
</serviceCredentials>
<wsHttpBinding>
<binding name="ServiceBinding">
<security mode="TransportWithMessageCredential">
<message clientCredentialType="UserName" />
</security>
</binding>
</wsHttpBinding>
在开发服务器上的IIS 7中创建了自签名证书。它很棒。客户端(Windows应用程序)能够使用https来使用该服务。
现在我想将它部署在生产服务器上。我有一个有效的域名和来自生产服务器映射到它的verisign的证书。
我是否需要与客户共享证书才能使用该服务?
客户是否需要在其系统中安装任何证书?
生产服务器需要任何其他配置吗?
什么是公钥?我们怎样才能产生它?什么时候需要?
请指导我正确的方向..
非常感谢您的帮助!!!