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