DOWNLOAD DEMO
Current Version: 2.3.9.7 2013-04-30
Need a hand? Join the community.

SSL and Child Sites

This thread is closed to new posts. You must sign in to post in the forums.
4/9/2012 6:30:09 PM
Gravatar
Total Posts 58

SSL and Child Sites

Have a primary site configured with SSL, cert and all is fine.

Adding a Child site with EnableSSLInChildSites configured "false". With this configuration some actions such as Sign In/Sign Out are as expected while others such as Register and My Account switch to SSL.

The environment is MP 2.3.8.1/MSSQL08R2/.NET 4/Full Trust/Host Name Based

4/10/2012 8:21:43 AM
Gravatar
Total Posts 16589

Re: SSL and Child Sites

Hi Bill,

Looking through the code I found only one place where EnableSSLInChildSites is actually used, I'm going to remove that setting as it has been replaced with different logic a while back.

In the current logic

<add key="SSLIsAvailable" value="true" />

is global for all sites, to make only a single site use SSL set that to false and add this:

<add key="Site1-SSLIsAvailable" value="true" />

where 1 is the SiteID for the site that should have SSL

This gives more granular control over which sites can use SSL

Hope that helps,

Joe

4/10/2012 8:39:45 AM
Gravatar
Total Posts 58

Re: SSL and Child Sites

Perfect. Was initially going to use the SiteX- prefix but noticed there was a unique configuration setting for SSL and child sites.

Thanks Joe.

4/10/2012 11:14:44 AM
Gravatar
Total Posts 1049

Re: SSL and Child Sites

I will update the Sample user.config document soon to illustrate the new method of specifying SSL for child sites.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.

mojoPortal Hosting Made Easy

Go Mobile with mojoPortal and Mobile Kit Pro!