When configuring SSL for the site, you may also need to use the service endpoints to perform certain actions. These steps show how you can configure the site to allow these endpoints to function when using SSL.
To setup SSL, the following configuration has worked. Please note that this configuration may not be suitable for all senarios and should be tested.
1) Change
<behavior name="Ektron.WcfServices.serviceBehavior"> <serviceMetadata httpGetEnabled="true" />
To
<behavior name="Ektron.WcfServices.serviceBehavior"> <serviceMetadata httpGetEnabled="false" />
2) Next find the service configuration you want to change (there may be many that you need to use)
Change
<service behaviorConfiguration="Ektron.WcfServices.serviceBehavior" name="Ektron.Cms.Settings.UrlAliasing.AliasSettingsProvider"> <endpoint address="" binding="wsHttpBinding" bindingConfiguration="Ektron.WcfServices.bindingConfig" contract="Ektron.Cms.Settings.UrlAliasing.IAliasSettingsManager" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /></service>
To
<service behaviorConfiguration="Ektron.WcfServices.serviceBehavior" name="Ektron.Cms.Settings.UrlAliasing.AliasSettingsProvider"> <endpoint address="" binding="wsHttpBinding" bindingConfiguration="Ektron.WcfServices.bindingConfig" contract="Ektron.Cms.Settings.UrlAliasing.IAliasSettingsManager" /> <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" /> </service>
3) Change
<binding name="Ektron.WcfServices.bindingConfig" maxBufferPoolSize="2147483647" closeTimeout="00:01:00" openTimeout="00:01:00" maxReceivedMessageSize="2147483647"> <security mode="None" /> <!--This SecurityMode setting is required if your configuration is connecting to WCF web services on a secure server using SSL.--> <!--<security mode="Transport"--> <!--transport clientCredentialType="None" proxyCredentialType="None" realm=""/--> <!--/security>--> <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" maxDepth="32" /> </binding>
To
<binding name="Ektron.WcfServices.bindingConfig" maxBufferPoolSize="2147483647" closeTimeout="00:01:00" openTimeout="00:01:00" maxReceivedMessageSize="2147483647"> <!--<security mode="None" />--> <!--This SecurityMode setting is required if your configuration is connecting to WCF web services on a secure server using SSL.--> <security mode="Transport" / <transport clientCredentialType="None" proxyCredentialType="None" realm=""/> </security> <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" maxDepth="32" /> </binding>
Please sign in to leave a comment.