1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / ssl question for 4.x urgent need help

ssl question for 4.x urgent need help

5 posts, 0 answered
  1. devusr
    devusr avatar
    6 posts
    Registered:
    16 Jan 2012
    16 Jan 2012
    Link to this post
    Hi everyone
    We need to enable ssl for a few pages in our site (sitefinity 4),but the pages needs to be accessible using https / http for the same user session
    Right now, after adding a new binding of type HTTPS for the site in IIS 7, we see an unexpected behavior, even when entering HTTPS in browser the page is redirected to HTTP; why is this happening maybe we are missing some configuration settings?




  2. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    16 Jan 2012
    Link to this post
    Devusr,

    To enable SSL on a page:
    Select "Title and Properties" from the "Actions" menu of the page you want to modify.
    You should see a check box, in the "Advanced Options" section, labeled "Enable SSL".
    Check the box and then save your changes.

    Hope that helps!
  3. devusr
    devusr avatar
    6 posts
    Registered:
    16 Jan 2012
    16 Jan 2012
    Link to this post
    I don't see it, there is only "Require SSL" but checking that will make the page accessible only by secured connection and the page should be viewable in http / https
  4. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    16 Jan 2012
    Link to this post
    Devusr,

    As far as I know, in Sitefinity, SSL is an all or nothing deal. If you enable it then it will redirect to https each time the page is requested. If it's not enabled then any attempt to browse via https will redirect to http.

    I'm curious, if you're going through the trouble to purchase an SSL certificate and enable it on a page then it must contain something you would like to transmit via secure communication. May I ask why, then, would you want it accessible via http?

    Regards,
    Tim
  5. devusr
    devusr avatar
    6 posts
    Registered:
    16 Jan 2012
    17 Jan 2012
    Link to this post
    Well, it is a page that shows a popup loaded through js after user action (clicking a button)
    So we are looking to redirect to the same page using https and show the login popup after page load. Besides this, the page does not requires a secured connection so this is why https needs to be accessible when needed
    That's about it, so we cannot achieve this even with overriding a HTTP module or something similar?
     
5 posts, 0 answered