SSL and Child Sites

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/9/2012 5:30:09 PM
Gravatar
Total Posts 68

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 7:21:43 AM
Gravatar
Total Posts 18439

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 7:39:45 AM
Gravatar
Total Posts 68

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 10:14:44 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

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.