在WCF中使用证书身份验证时出错
我有点麻烦了 我在部署到我的一个实时服务器时遇到了以下错误,我在以前的安装中没有看到这些服务器。在我们的生产环境中,该服务器位于硬件负载平衡器(BigIP)的后面,据我所知,这是与以前部署的唯一区别 无法启动模拟,因为请求消息中的UltimateReceiver角色的SecurityContext为'http://tempuri.org/ISomeService/GetStuff'操作未映射到Windows标识 我们正在经典模式应用程序池中运行Windows Server 2008 R2(IIS 7.5)、WCF 4.0 以下是我的配置文件中的相关片段——可能有一些拼写错误,我更改了名称以保护罪犯:在WCF中使用证书身份验证时出错,wcf,wshttpbinding,x509,Wcf,Wshttpbinding,X509,我有点麻烦了 我在部署到我的一个实时服务器时遇到了以下错误,我在以前的安装中没有看到这些服务器。在我们的生产环境中,该服务器位于硬件负载平衡器(BigIP)的后面,据我所知,这是与以前部署的唯一区别 无法启动模拟,因为请求消息中的UltimateReceiver角色的SecurityContext为'http://tempuri.org/ISomeService/GetStuff'操作未映射到Windows标识 我们正在经典模式应用程序池中运行Windows Server 2008 R2(IIS
<service behaviorConfiguration="SomeServiceBehavior" name="SomeService">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBindingCert" contract="ISomeService" />
</service>
<wsHttpBinding>
<binding name="wsHttpBindingCert">
<security mode="Transport">
<transport clientCredentialType="Certificate" />
</security>
</binding>
</wsHttpBinding>
<behavior name="SomeServiceBehavior">
<serviceMetadata httpsGetEnabled="false" />
<serviceDebug includeExceptionDetailInFaults="false" />
<serviceCredentials>
<clientCertificate>
<authentication certificateValidationMode="ChainTrust" mapClientCertificateToWindowsAccount="True"/>
</clientCertificate>
<serviceCertificate findValue="somecert.domain.com" x509FindType="FindBySubjectName" storeName="My" storeLocation="LocalMachine" />
</serviceCredentials>
</behavior>
任何帮助都将不胜感激