2012-01-27 6 views
0

私はIISでローカルcertificatを作成しますが、このcertificatをAzureプロジェクトに追加します。 ローカル(Https://127.0.0.1:444)でデバッグすると、私のサービスはうまく動作します。AzureとSSLがステージングで動作しない

私のプロジェクトを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> 

+0

「エラー:クリスタルボールが見つかりません。」つまり、「動作しません」とはどういう意味ですか?どのように*正確にそれはあなたが起こると予想されたものと異なるのですか?エラーはありますか?警告?彼らは何を言いますか? – Piskvor

+0

私はエラーがない、それは私が助けを求めるこの理由です。 – Benjamin

+0

Windows Azureでhttpsを使用することはできません。ユーザーがログに記録していないことがわかりました – Benjamin

答えて

1

は、Windows Azureのホスティングサービスにあなたのサービスの証明書をアップロードしたことがありますか?あなたの証明書をアップロードしなかったため、あなたのサービスはほとんど機能しません。 WindowsのAzureの持つ証明書を使用する方法について、次のリソースを確認してください:

また、あなたがあなたのコード内でサービス証明書を使用している場合がありますのでご注意くださいいくつかのチェックを行うと、自己署名証明書で検証が行われないため、検証をスキップする必要があります。

関連する問題