Release Managementで HTTPS プロトコルを使用するとデプロイが失敗する

この更新プログラムは、Release Management サーバー構成ツールで HTTPS プロトコルを使用するオプションがない問題を解決するのに役立ちます。

元の製品バージョン: Release Management Client for Visual Studio 2013、Release Management Visual Studio 2013、Team Foundation Server 2013 のRelease Management
元の KB 番号: 2905743

現象

次のような状況で問題が発生します。

  • Microsoft Release Management for Visual Studio 2013 をインストールします。
  • HTTPS 証明書をインストールします。
  • HTTPS 証明書を使用するようにインターネット インフォメーション サービス (IIS) を構成します。
  • Release Management サーバー構成ツールを使用して、HTTPS プロトコルを使用するようにRelease Managementを構成しようとするとします。

このシナリオでは、Release Management サーバー構成ツールで HTTPS プロトコルを使用するオプションはありません。 そのため、インストールされている HTTPS 証明書は使用できません。

解決方法

この問題を解決するには、以下のいずれかの方法を使用します。

  • Visual Studio 2013 Update 1 をダウンロードしてインストールします。

  • HTTPS プロトコルを使用するようにRelease Management サービス Web サイトとコンポーネントを手動で構成します。 これを行うには、次の手順を実行します。

    1. IIS で、インストールされている HTTPS 証明書を使用するようにRelease Management サービス Web サイト バインドを構成します。

    2. Release Management サービスWeb.configファイルで次のコード見つけます。

      注:

      Release Management サービス Web.config ファイルはディレクトリにあります<Release_Management_server>/services/

      <basicHttpBinding>
          <binding name="fileTransferServiceBinding" transferMode="Streamed" messageEncoding="Mtom" maxReceivedMessageSize="10067108864">
              <!-- TODO: Set security mode to "TransportCredentialOnly" for HTTP or "Transport" for HTTPS. -->
              <security mode="TransportCredentialOnly">
                  <transport clientCredentialType="Windows"/>
              </security>
          </binding>
      < /basicHttpBinding>
      
    3. 次の security mode サンプル コードのように、値を Transport に変更します。

      <basicHttpBinding>
          <binding name="fileTransferServiceBinding" transferMode="Streamed" messageEncoding="Mtom" maxReceivedMessageSize="10067108864">
              <!-- TODO: Set security mode to "TransportCredentialOnly" for HTTP or "Transport" for HTTPS. -->
              <security mode="Transport">
                  <transport clientCredentialType="Windows"/>
              </security>
          </binding>
      </basicHttpBinding>
      
    4. HTTPS プロトコルと正しいポート番号を使用するように、次のファイルの URL を構成します。

      • フォルダー内Release_Management_server\services\にある Web.config ファイル。
      • フォルダー内Release_Management_server\web\にある Web.config ファイル。
      • フォルダー内Microsoft_Deployment_Agent\bin\にある Microsoft.TeamFoundation.Release.Data.dll.config ファイル。
    5. Release Management アプリケーション プールをリサイクルします。

    6. コントロール パネルの [サービス] 項目で、Release Management モニター サービスとMicrosoft Deployment Agent サービスを再起動します。

関連情報

Release Management for Visual Studio 2013 のインストール後に発生する可能性がある既知の問題