Modifying Composer.MWS.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.MWS.exe.config:
  1. From the %Composerdir% directory, open Composer.MWS.exe.config with a text editor that supports UTF-8.
  2. Within the <appSettings> element, change all http occurences to https.
    <appSettings>    
        ...
        <add key="rws" value="https://localhost:8100/rws" />
        <add key="ows" value="https://localhost:8100/ows/owsrepository" />
        <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" />
        <add key="license" value="https://localhost:8100/mur/license" />
        ...  
    </appSettings>
  3. Comment out the following lines.
    • <service name="debuging" assembly="ModusSuite.Runtime.DebugService" type="ModusSuite.Runtime.DebugService" />
    • <service name="remotecontrol" assembly="ModusSuite.Runtime.RemoteControlService" type="ModusSuite.Runtime.RemoteControlService" />
  4. In the <add baseAddress element below the line <service name="MWSRepositoryService" behaviorConfiguration="ModusSuiteServiceBehaviour">, change http to https.
    <service name="MWSRepositoryService" behaviorConfiguration="ModusSuiteServiceBehaviour">
       <host>
          <baseAddresses>
       	     <add baseAddress=https://[DNS name of the load balancer server]:8100/mws/mwsrepository />
    	     </baseAddresses>
       </host>
  5. In the <add baseAddress element below the line service name="ModusSuite.MWS.MWSProcessService" behaviorConfiguration="ModusSuiteServiceBehaviour">, change http to https.
    <service name="ModusSuite.MWS.MWSProcessService" behaviorConfiguration="ModusSuiteServiceBehaviour">
       <host>
          <baseAddresses>
             <add baseAddress="https://[DNS name of the load balancer server]:8100/mws" />
          </baseAddresses>
       </host>
    
  6. In the <add baseAddress element below the line <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration="BasicBehaviour_SSL"> , change http to https.
    <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration="BasicBehaviour_SSL">
       <host>
          <baseAddresses>
    	        <add baseAddress="https://[DNS name of the load balancer server]:8100/mwsbasic" />
          </baseAddresses>
       </host>
       <endpoint address="mwsprocess" binding="basicHttpBinding" bindingConfiguration="BasicBinding_SSL" contract="ModusSuite.MWS.Types.IMWSProcessServiceBasic" />
    </service>
  7. In the <add baseAddress element below the line <service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration="RestBehaviour">, change http to https.
    <service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration="RestBehaviour">
       <host>
          <baseAddresses>
    	     <add baseAddress="https://[DNS name of the load balancer server]:8100/mwsrest" />
          </baseAddresses>
       </host>
  8. Change the line <security mode="Message"> to <security mode="TransportWithMessageCredential">.
  9. Within the <behavior name="ModusSuiteServiceBehaviour"> element, change <serviceMetadata httpGetEnabled="true"/> to <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />.
  10. Within the <behavior name="RestBehaviour"> element, change <serviceMetadata httpGetEnabled="true"/> to <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />.
  11. Save and close the file.