More in this section

Forums / Developing with Sitefinity / Problem with http and https

Problem with http and https

5 posts, 1 answered
  1. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    30 Nov 2011
    Link to this post
    Hi,

    I want my back office to be under https, but then, when you try to preview a page by clicking the "View" link in the back office, the link starts with https rather than http, regardless of whether the page is marked as "Require SSL" or not, making it so the link doesn't work.

    Shouldn't Sitefinity generate the right preview links depending on whether the page requires SSL or not?

    I tried to work around the problem by trying to make pages accessible through both http and https, but I couldn't get that to work Sitefinity. When the "Require SSL" check box is not checked, I can only access the page using http, and when it's checked, I can only access it using https.

    Edit: previews link aside, I forgot to mention the most important thing: back office URLs that do not start with "Sitefinity" do not work, because I enabled https for the Sitefinity folder, and not for pages. For example, if you click a page to edit it, you go to an URL like "home/Action/Edit", which does not work because this page cannot be accessed using https.

    Is what I'm trying to do (front: http, back: https) not a supported scenario?


    Help? Thanks.
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    05 Dec 2011
    Link to this post
    Hi Thomas,

    Unfortunately you are right about your discoveries. HTTPS works unless you go to edin a page. There is a workaround for this if you create the page itself to require SSL.

    Apologies for the inconvenience.

    Kind regards,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    05 Dec 2011
    Link to this post
    Hi Lubomir,

    Okay, thanks for the confirmation.
    I guess we'll try having only the login page as HTTPS then, because my client doesn't want go for full HTTPS.
  4. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    05 Dec 2011
    Link to this post
    Oops, double post. Got an error when posting my first message, and assumed it wasn't posted. Please delete this one.
  5. Guillermo
    Guillermo  avatar
    9 posts
    Registered:
    17 Feb 2012
    02 Apr 2012
    Link to this post
    Hi Thomas
    Could you achieve to set up the login page to use SSL? 

    My problem is that in order to serve HTTPS pages, additionally to set the "Require SSL" per page, the IIS must be configured to do so, and we can only set SSL for the entire back end folder (Sitefinity folder), making impossible to isolate which pages will use SSL or not. Same principle happens in the front end. 

    Does anyone has a better approach to handle SSL for specific pages on the back and front end...

    Thanks a lot
5 posts, 1 answered