Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Silverlight Azure和SSL在转移中不工作_Silverlight_Ssl_Service_Azure - Fatal编程技术网

Silverlight Azure和SSL在转移中不工作

Silverlight Azure和SSL在转移中不工作,silverlight,ssl,service,azure,Silverlight,Ssl,Service,Azure,我使用IIS创建本地证书,我将此证书添加到Azure项目。 当我在本地调试时(Https://127.0.0.1:444)我的服务很好 但是当我将我的项目发布到Azure Staging时(https://a7a9e6ab**.cloudapp.net/),我的服务不工作 我的web.config <system.serviceModel> <serviceHostingEnvironment multipleSiteBindingsEnabled="true"> &

我使用IIS创建本地证书,我将此证书添加到Azure项目。 当我在本地调试时(Https://127.0.0.1:444)我的服务很好

但是当我将我的项目发布到Azure Staging时(https://a7a9e6ab**.cloudapp.net/),我的服务不工作

我的web.config

  <system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true">
</serviceHostingEnvironment>
<bindings>
  <basicHttpBinding>
    <binding name="DefaultBinding" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647">
      <readerQuotas maxDepth="50" maxArrayLength="2147483647" maxStringContentLength="2147483647" />
      <security mode="TransportWithMessageCredential">
        <message clientCredentialType="UserName" />
        <transport clientCredentialType="None" proxyCredentialType="None" />
      </security>
    </binding>
    <binding name="DefaultSecuredBinding" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647">
      <readerQuotas maxDepth="50" maxArrayLength="2147483647" maxStringContentLength="2147483647" />
      <security mode="TransportWithMessageCredential">
        <message clientCredentialType="UserName" />
        <transport clientCredentialType="None" proxyCredentialType="None" />
      </security>
    </binding>
  </basicHttpBinding>
</bindings>
<behaviors>
  <serviceBehaviors>
    <behavior name="DefaultServiceBehavior">
      <serviceMetadata httpsGetEnabled="true" />
      <serviceDebug includeExceptionDetailInFaults="true" />
      <serviceCredentials>
        <userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="nVentive.Umbrella.Services.UserNamePasswordValidator, nVentive.Umbrella.Services" />
      </serviceCredentials>
    </behavior>
  </serviceBehaviors>
</behaviors>


您是否已将服务证书上载到Windows Azure托管服务?您的服务不起作用,很可能是因为您没有上载证书。有关如何在Windows Azure中使用证书,请查看以下资源:


另外,请注意,如果您在代码中使用服务证书进行一些检查,您必须跳过任何验证,因为自签名证书不会通过任何验证。

错误:未找到Crystal ball。
换句话说,“不工作”是什么意思?它与您预期的情况有什么不同?有错误吗?警告?他们怎么说?我没有错,正是因为这个原因我请求帮助。在使用https的Windows Azure上,我不能使用Fiddler,我注意到我的用户没有登录