Configuring HTTPS

By default, after installing users access the Online Marketing Explorer Web application through HTTP. This task describes how to configure Online Marketing Explorer for HTTPS.

Before you begin

Before configuring HTTPS for Online Marketing Explorer, you must first configure HTTPS on the Content Manager Server. For more information, see the implementor's documentation portal.

About this task

Procedure

  1. Open Internet Information Services (IIS) Manager.
  2. Go to your SDL Tridion Web site.
  3. Go to the OnlineMarketing Web application running in the SDL Tridion Web site.
  4. Open the Online Marketing Explorer web.config file, located in \OnlineMarketing\Web\Services\ folder, in a text editor.
  5. Uncomment the endpoint sections marked as:
    <!--For Https uncomment this endpoint-->
  6. In the <basicHttpBinding> section, uncomment the SecureTransport binding:
    <binding name="SecureTransport" closeTimeout="01:00:00" 
             openTimeout="01:00:00" receiveTimeout="01:00:00" 
             sendTimeout="01:00:00" maxReceivedMessageSize="2147483647" 
             maxBufferSize="2147483647" maxBufferPoolSize="2147483647">
        <readerQuotas maxDepth="32" maxStringContentLength="1073741824" maxArrayLength="1073741824" maxBytesPerRead="1073741824" maxNameTableCharCount="16384" />
    			 <security mode="Transport">
    					     	<transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
    				</security>
    </binding>
  7. In the <webHttpBinding> section, uncomment the SecureBasicWebHttpBinding binding:
    <binding name="SecureBasicWebHttpBinding" closeTimeout="01:00:00" 
             openTimeout="01:00:00" receiveTimeout="01:00:00" 
             sendTimeout="01:00:00" maxReceivedMessageSize="2147483647" 
             maxBufferSize="2147483647" maxBufferPoolSize="2147483647">
         <security mode="Transport">
            <transport clientCredentialType="Windows" />
          </security>
    </binding>
  8. Save and close the file.
  9. Open the Online Marketing Explorer web.config file, located in \OnlineMarketing\Web\Models\ folder, in a text editor.
  10. Uncomment the following endpoint:
    <endpoint name="SecureProxy"
                      address=""
                      behaviorConfiguration="Tridion.Web.UI.ContentManager.WebServices.AspNetAjaxBehavior"
                      binding="webHttpBinding"
                      bindingConfiguration="Tridion.Web.UI.ContentManager.WebServices.WebHttpsBindingConfig"
                      contract="Tridion.OnlineMarketing.Server.WebModel.Services.Proxy" />
  11. In the <webHttpBinding> section, uncomment the Tridion.Web.UI.ContentManager.WebServices.WebHttpsBindingConfig binding:
    <binding name="Tridion.Web.UI.ContentManager.WebServices.WebHttpsBindingConfig" maxReceivedMessageSize="2097152" maxBufferSize="2097152">
    					<readerQuotas maxArrayLength="81920" maxBytesPerRead="5120" maxDepth="32" maxNameTableCharCount="81920" maxStringContentLength="2097152" />
    				 <security mode="Transport">
    			 			<transport clientCredentialType="Windows" />
    				 </security>
    </binding>
  12. Save and close the file.
  13. To enable HTTPS between the Aggregation Service and the Online Marketing Explorer Web application you need to:
    1. install a trusted certificate on the machine where the Aggregation Service installed—see http://support.microsoft.com/kb/816794
    2. bind the certificate to the port where the secured service is hosted (2600 by default):
    3. configure the Aggregation Service AggregationService.exe.config (see step 14).
    4. configure OnlineMarketing\Web\Services\Web.config (see step 15).
    5. configure OnlineMarketing\Web\Models\Web.config (see step 16).
  14. On the machine with the Aggregation Service installed, configure the AggregationService.exe.config file:
    1. Open the AggregationService.exe.config file, by default located in your Tridion installation bin folder, in a text editor.
    2. In the following bindings, change security mode to <security mode="Transport">:
      • BasicHttpBinding_IOnlineMarketingConnectorService
      • basicHttpAggService
      • BasicWebHttpBinding
    3. In the <behavior name="DataProviderServiceBehavior"> section, configure the serviceMetadata section as follows:
      <serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" />
    4. In the <endpoint name ="BasicHttpBinding_IOnlineMarketingConnectorService" /> endpoint, configure the address of Online Marketing Connector:
      <endpoint address="http://[OMEServerName]/OnlineMarketing/OnlineMarketingConnectorService.svc" 
                binding="basicHttpBinding" behaviorConfiguration="OnlineMarketingBehavior" 
                bindingConfiguration="BasicHttpBinding_IOnlineMarketingConnectorService" 
                contract="OnlineMarketingConnectorService.IOnlineMarketingConnectorService" 
                name="BasicHttpBinding_IOnlineMarketingConnectorService" />
    5. Save and close AggregationService.exe.config.
  15. On the machine with Online Marketing Explorer installed, configure the Services Web.config file:
    1. Open the \OnlineMarketing\Web\Services\Web.config file in a text editor.
    2. In the basicHttpBinding_IDataProviderService and BasicHttpBinding_IOnlineMarketingConnectorService bindings, change security mode to:
      <security mode="Transport">
    3. In the <endpoint name="Reporting_IDataProviderService" /> endpoint, configure the address of the Aggregation Service:
      <endpoint address="https://[AFServerName]/AggregationDataService"
                binding="basicHttpBinding" 
                bindingConfiguration="basicHttpBinding_IDataProviderService" 
                contract="AggregationDataService.IDataProviderService"   
                name="Reporting_IDataProviderService">
    4. Save and close Web.config.
  16. On the machine with Online Marketing Explorer installed, configure the Models Web.config file:
    1. Open the \OnlineMarketing\Web\Models\Web.config file in a text editor.
    2. In the <binding name="ODataWebHttpBinding"> binding, change security mode to:
      <security mode="Transport">
    3. In the <appSettings> section, configure the OMEODataService:
      <appSettings>
      		<add key="OMEODataService" value="https://[AFServerName]/OnlineMarketingODataService" />
      </appSettings>
    4. Save and close Web.config.
  17. Restart IIS.
  18. Open Component Services and restart the Tridion Aggregation Service.