Configure Tosca CI Client for HTTPS

Tosca Continuous Integration supports HTTPS communication between the Tosca Distribution Server and the Tosca Continuous Integration CIient.

If you have set up your Tosca Distribution Server as a HTTPS service and you want to call it from the Tosca Continuous Integration Client, you need to modify the ToscaCIClient.exe.config file to establish a successful connection. To do so, follow the steps below:

  1. Open the ToscaCIClient.exe.config file. After a standard installation, this file is located at %COMMANDER_HOME%\ToscaCI\Client.

  2. Go to the system.serviceModel section.

  3. In the element whose binding name is "BasicHttpBinding_IRemoteExecutionService", change the value of security mode to Transport.

<system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IRemoteExecutionService" closeTimeout="00:10:00"
          openTimeout="00:10:00" receiveTimeout="Infinite" sendTimeout="Infinite"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"
          textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"
          messageEncoding="Text">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <security mode="Transport" />
        </binding>
        <binding name="BasicHttpBinding_IManagerService" closeTimeout="00:10:00"
          openTimeout="00:10:00" receiveTimeout="Infinite" sendTimeout="Infinite"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"
          textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"
          messageEncoding="Text">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <security mode="None" />
        </binding>
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:8732/TOSCARemoteExecutionService"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IRemoteExecutionService"
        contract="ServiceReference1.IRemoteExecutionService" name="BasicHttpBinding_IRemoteExecutionService" />
      <endpoint address="http://localhost/DistributionServerService/ManagerService.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IManagerService"
        contract="ManagerService.IManagerService" name="BasicHttpBinding_IManagerService" />
    </client>
  </system.serviceModel>
  1. Save the file.