SSL for a specific page

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
10/8/2012 1:06:01 AM
Gravatar
Total Posts 76

SSL for a specific page

Hello everyone,

I need to use SSL for a specific page on a site. I've seen how to use SSL through the web.config but unfortunately the hosting guys have setup the ssl as a seperate website under the sub domain secure.mydomain.com

 

I have two sites provided by the hosting service provider. One is http://mydomain.com and https://secure.mydomain.com

 

I've copied the mojoportal deployment files on both the wwwroot folders for now.

Is there anyway to redirect that particular page there? But,when they click the home button, they need to come back to the http:// site.

I would appreciate any help

Thanks.

10/8/2012 2:31:24 PM
Gravatar
Total Posts 18439

Re: SSL for a specific page

Sorry but that is not going to work, you need the ssl certificate to match the domain used by the site then you can specify that SSL is available in Web.config and you can enable it on specific pages from PageSettings. We don't have a way to make it use a different host name for secure pages. 

Best,

Joe

10/10/2012 1:53:52 AM
Gravatar
Total Posts 76

Re: SSL for a specific page

Thank you Joe. For now, I have just linked the pages which need https to a https copy of the mojoportal published site. The others link to the http copy of the published files.

 

Once again, thanks for all your great work.

10/10/2012 4:42:59 AM
Gravatar
Total Posts 133
J

Re: SSL for a specific page

As I am working on a site that will also have some SSL requirements I was wondering why you don't just run the whole site under SSL. Maybe there's a gotcha doing that I haven't come to you yet.

John

 

10/10/2012 9:05:10 AM
Gravatar
Total Posts 18439

Re: SSL for a specific page

These days it is best to use SSL for all authenticated requests at minimum because as discussed in the document Use SSL, if you don't use SSL and you (or your users who sign into your site for any reason) use public wifi it is trivial today to steal cookies unless they are protected by SSL. Especially since SSL certificates can be obtained free or at low cost from places like StartSSL.

Best,

Joe

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