To modify Composer.Core.exe.config:
- From the %Composerdir% directory, open Composer.Core.exe.config with a text editor that supports UTF-8.
-
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" />
-
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" /> -->
-
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"/>
-
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>
-
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"
-
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>
-
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>
-
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>
-
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>
-
Within the <behavior name="STSBehaviour"> element:
- Change <serviceMetadata httpGetEnabled="true"/> to <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />.
-
Within the <behavior name="ModusSuiteServiceBehaviour"> element:
- Change <serviceMetadata httpGetEnabled="true"/> to <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />.
- Save and close the file.