Wcf Azure Biztalk调用桥作为单向外部服务端点

Wcf Azure Biztalk调用桥作为单向外部服务端点,wcf,authentication,azure,biztalk,Wcf,Authentication,Azure,Biztalk,我试图从Azure BizTalk服务调用现有网桥,但出现以下错误: 无法为具有权限“域名”的SSL/TLS安全通道建立信任关系 我已经尝试了所有可能的WCF绑定配置,但都不起作用,最后的配置如下: <system.serviceModel> <bindings> <wsHttpBinding> <binding name="ServiceBinding"> <security mo

我试图从Azure BizTalk服务调用现有网桥,但出现以下错误:

无法为具有权限“域名”的SSL/TLS安全通道建立信任关系

我已经尝试了所有可能的WCF绑定配置,但都不起作用,最后的配置如下:

  <system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding name="ServiceBinding">
          <security mode="Transport" />
        </binding>
      </wsHttpBinding>
    </bindings>
    <behaviors>
      <endpointBehaviors>
        <behavior name="ServiceCredentialBehavior">
          <clientCredentials>
            <clientCertificate findValue="CN=certificate-name"/>
          </clientCredentials>
        </behavior>
      </endpointBehaviors>
    </behaviors>
    <client>
      <clear />
      <endpoint address="https://bridge-url" binding="wsHttpBinding" contract="System.ServiceModel.Routing.ISimplexDatagramRouter" name="OneWayExternalServiceEndpointReference2" bindingConfiguration="ServiceBinding"  behaviorConfiguration="ServiceCredentialBehavior">
        <identity>
          <certificate encodedValue="encoded-value" />
        </identity>
      </endpoint>
    </client>
  </system.serviceModel>


如果我遗漏了一些非常明显的内容,请告知,我们将不胜感激。

您的证书是自签的吗?如果是,则您必须:

  • 创建用于加密SSL通道的自签名证书
  • 使用Windows Azure管理门户将证书上载到Windows Azure
  • 在Windows Azure web角色上启用HTTPS终结点 所有详细说明都可以在这里找到 [如何:在Windows Azure上使用自签名证书启用SSL][1]

如果您的证书不是自签名的,那么我认为您必须将证书添加到您的本地根证书颁发机构

谢谢您的回复,很抱歉响应有点晚。我已经通过使用EAI桥接和桥接链接解决了这个问题,下面是一个示例: