Modifying Composer.Core.exe.config to use HTTPS - Advanced Design and Setup - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Advanced Design and Setup

Platform
Content Composer
Product
Advanced Design and Setup
Release
Foundation 23.2
License
To modify Composer.Core.exe.config:
  1. From the %Composerdir% directory, open Composer.Core.exe.config with a text editor that supports UTF-8.
  2. Within the <appSettings> element, change all http occurences to https.

    Example

    <appSettings>
       <add key="rws" value="https://localhost:8100/rws" />
       ...
       <add key="sts" value="https://localhost:8100/sts" />
       <add key="login" value="https://localhost:8100/mur/login" />
       <add key="mur" value="https://localhost:8100/mur/data" />
    
  3. Search for the line <service name="remotecontrol" assembly="ModusSuite.Runtime.RemoteControlService" type="ModusSuite.Runtime.RemoteControlService"/> and comment it out.

    Example

    <modusruntime>
       <runtimeservices>
       ...
          <!-- <service name="remotecontrol" assembly="ModusSuite.Runtime.RemoteControlService" type="ModusSuite.Runtime.RemoteControlService" /> -->
  4. Search for the line <service name="crossdomain" assembly="ModusSuite.Runtime.CrossDomainService" type="ModusSuite.Runtime.CrossDomainRuntimeService"/> and ensure that it is not commented out.

    Example

    <modusruntime>
       <runtimeservices>
       ...
          <service name="crossdomain" assembly="ModusSuite.Runtime.CrossDomainService" type="ModusSuite.Runtime.CrossDomainRuntimeService"/>
  5. Within the <baseAddresses> element below the line <crossDomainServices policy="%Composerdir%ClientAccessPolicy.xml">:
    • Comment out the first <add baseAddress element.
    • In the second <add baseAddress element, change localhost to the DNS name of the load balancer server and the IP port to 8100.

    Example

    <crossDomainServices policy="%Composerdir%ClientAccessPolicy.xml">
       <baseAddresses>
          <!--	<add baseAddress="http://localhost:8011/"/>	-->
          <add baseAddress="https://[DNS name of the load balancer server]:8100/"/>
       </baseAddresses>
    </crossDomainServices>
  6. Within the <add baseAddress element below the line <service name="STS" behaviorConfiguration ="STSBehaviour" >:
    • Change http to https.
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.
    • In the <endpoint address ="windows", add bindingConfiguration="STS_WindowsBindingConfiguration".

    Example

    <service name="STS" behaviorConfiguration ="STSBehaviour" >
       <host>
          <baseAddresses>
             <add baseAddress ="https://[DNS name of the load balancer server]:8100/sts" />
          </baseAddresses>
       </host>
       <endpoint address ="windows"
                  binding="wsHttpBinding"
                  bindingConfiguration="STS_WindowsBindingConfiguration"
  7. In the <add baseAddress element below the line <service name="ModusUserRepositoryService" behaviorConfiguration ="ModusSuiteServiceBehaviour" >:
    • Change http to https.
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.

    Example

    <service name="ModusUserRepositoryService" behaviorConfiguration ="ModusSuiteServiceBehaviour" >
       <host>
          <baseAddresses>
             <add baseAddress ="https://[DNS name of the load balancer server]:8100/mur" />
          </baseAddresses>
       </host>
  8. In the <add baseAddress element below the line <service name="ModusSuite.DataProvider.DataProviderService" behaviorConfiguration ="ModusSuiteServiceBehaviour" >
    • Change http to https.
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.

    Example

    <service name="ModusSuite.DataProvider.DataProviderService" behaviorConfiguration ="ModusSuiteServiceBehaviour" >
       <host>
          <baseAddresses>
             <add baseAddress ="https://[DNS name of the load balancer server]:8100/dataprovider" />
          </baseAddresses>
       </host>
  9. In the <add baseAddress element below the line <service name="ModusSuite.Repository.RepositoryWebService" behaviorConfiguration ="ModusSuiteServiceBehaviour" >
    • Change http to https.
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.

    Example

    <service name="ModusSuite.Repository.RepositoryWebService" behaviorConfiguration ="ModusSuiteServiceBehaviour" >
       <host>
          <baseAddresses>
             <add baseAddress ="https://[DNS name of the load balancer server]:8100/rws" />
          </baseAddresses>
  10. Within the <bindings> element:
    • Change all occurrences of <security mode="Message"> to <security mode="TransportWithMessageCredential">
    • Add a new binding named STS_WindowsBindingConfiguration.

    Example

    <bindings>
       <wsHttpBinding>
          <binding name="TokenBinding" maxBufferPoolSize="2147483600" maxReceivedMessageSize="2147483600" receiveTimeout="Infinite">
             ...
             <security mode="TransportWithMessageCredential">
             ...
            <binding name="STS_UsernameBindingConfiguration" maxBufferPoolSize="2147483600" maxReceivedMessageSize="2147483600">
               <security mode="TransportWithMessageCredential">
               ...
            <binding name="STS_WindowsBindingConfiguration" maxBufferPoolSize="2147483600" maxReceivedMessageSize="2147483600">
               <security mode="TransportWithMessageCredential">
                  <message clientCredentialType="Windows" />
               </security>
            </binding>
       </wsHttpBinding>
  11. Within the <behavior name="STSBehaviour"> element:
    • Change <serviceMetadata httpGetEnabled="true"/> to <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />.
  12. Within the <behavior name="ModusSuiteServiceBehaviour"> element:
    • Change <serviceMetadata httpGetEnabled="true"/> to <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />.
  13. Save and close the file.