SSL in a multisite installation

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/5/2011 7:50:48 AM
Gravatar
Total Posts 38

SSL in a multisite installation

In a multisite installation of mojoPortal, installation of an SSL certificate in one of the child sites works fine for the child site; but the certificate is also applied to sites which do not have certificates, so of course browser throws error regarding invalid certificate.

The setup is

--single installation of mojoPortal using host headers master (site 1) and each child site.

--IIS website defined for each site, on same IP, but with host headers defined.

--SSL certificate installed on single IIS site.

--mojoPortal web.config setting "SSLIsAvailable" set to "true".

 

What should I do to apply the certificate to the one child site for which it is relevant?

10/5/2011 8:02:53 AM
Gravatar
Total Posts 18439

Re: SSL in a multisite installation

Hi,

Generally once a site (hostname based) uses SSL I would split it off into its own installation.

But you can try this and it may work ok for just one site to have SSL:

<add key="SSLIsAvailable" value="false" />
<add key="Site2-SSLIsAvailable" value="true" />

replace the 2 with the correct site id for the child site that matches the certificate.

The above solution may work but it would only work for one site since you can only have 1 SSL certificate bound to the IIS site. It would not work for 2 child sites with different host names.

Of course for folder based sites the same SSL certificate can work since they all have the same domain in that case.

Hope that helps,

Joe

10/6/2011 1:36:40 AM
Gravatar
Total Posts 38

Re: SSL in a multisite installation

Re: it would not work for 2 child sites with different host names. I was not clear. I have multiple IIS sites all pointing to the same mojoportal installation. At present all the IIS sites share the same ip but with host headers defined. So I'm using host header definitions at IIS and mojoPortal installations. I would assign unique ip addresses to each IIS site if it would help. But I want all the IIS sites to point to a single mojoPortal installation. I would rather avoid a separate installation for each site. That would multiply maintenance tasks and reduce options for shared custom modules.
10/6/2011 7:16:24 AM
Gravatar
Total Posts 18439

Re: SSL in a multisite installation

ok, in that case it might work using the solution I suggested. Give it a try.

10/6/2011 8:48:23 AM
Gravatar
Total Posts 38

Re: SSL in a multisite installation

Perfect.

I do believe it's my round.  Left one at the bar for you.

 

10/6/2011 10:00:09 AM
Gravatar
Total Posts 18439

Re: SSL in a multisite installation

Thanks for the beer! Much appreciated!

Cheers,

Joe

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