2

我有点酸了!

部署到我在以前的安装中未见过的一台实时服务器时出现以下错误。该服务器位于我们生产环境中的硬件负载平衡器 (BigIP) 后面,据我所知,这是与以前部署的唯一区别。

无法启动模拟,因为来自具有“http://tempuri.org/ISomeService/GetStuff”操作的请求消息的 UltimateReceiver 角色的 SecurityContext 未映射到 Windows 标识。

我们在经典模式应用程序池中运行 Windows Server 2008 R2 (IIS 7.5)、WCF 4.0。

以下是我认为是我的配置文件中的相关片段——可能有一些拼写错误,我更改了名称以保护有罪者:

<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>

任何帮助将不胜感激。

4

0 回答 0