Solved

Changing Sharepoint sties from http:// to https://

Posted on 2013-01-16
4
337 Views
Last Modified: 2013-01-24
I have a site that is public facing that I have been asked to make available only through https:// -- I have read a lot of stuff, including posts on this site, but still am missing some pieces I think.  I read some things that say if you touch IIS at all that you're doing it wrong, while some give explicit instructions to use IIS.  

What I have done so far is bound the site to 443 SSL in IIS.  Now if you try and access the site using https:// it is possible, but the links break within the sites if you try and access files.  

Would appreciate some assistance to work through this process.  :)

Thanks!
0
Comment
Question by:PurpleSlade
  • 2
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
ID: 38783410
If you wish to make https the new Default zone URL, the proper way to do it is to remove SharePoint from the web app and re-extend to it.  This means in Central Admin, you select your web app, click the down arrow on the Delete button in the ribbon, and choose Remove SharePoint from IIS site.  Do NOT delete the database or the IIS site itself, just choose to remove SharePoint from the site.  Then you create a new web application, choosing an Existing IIS site.  This allows you to put a new URL in.  Then apply your SSL cert to the site in IIS.

If you wish to just add the https as a new zone to your existing web application, you can choose your web app and click "Extend" from the ribbon.  This will essentially create a new IIS site that is tied to your web app.  You would then apply your SSL cert to this new site in IIS.


_____________________________________________________________________-
Follow me on Twitter!  @justinsmith317
0
 
LVL 2

Author Comment

by:PurpleSlade
ID: 38784089
Just so I am clear - option #1 the site will only be available in https mode.  option #2 the site will be available either through http or https.

Are there any considerations that need to be given regarding redirects?  If someone has bookmarked a location on the site would it automatically redirect or would something explicitly be needed to make that happen?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 38784132
If you don't care that the site is available over http, then nothing would need to be done as far as redirection with option 2.  

If you go with option one, and you don't want sites available over http, you'll need to create your own redirection.  The best way for IIS 7 is using the URL rewrite add in for IIS.  This add-in would basically put an "s" in all requests.
0
 
LVL 2

Author Comment

by:PurpleSlade
ID: 38784551
This means in Central Admin, you select your web app, click the down arrow on the Delete button in the ribbon, and choose Remove SharePoint from IIS site.  Do NOT delete the database or the IIS site itself, just choose to remove SharePoint from the site.

I performed this action and it looks like something was messed up - how do I add it back?
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question