Logo Home   Downloads   Up to Bluedog Limited
SSL Relief for SharePoint
Posted on 6/23/2005 6:25 PM by pBoy
While many of us are waiting on some of the great Extranet-mode improvements in WSS SP2 (like support for fixed IP addresses, port translation, etc), there was another change that occurred recently that can potentially be quite useful.  See Maurice's post about SP2 for more information on what's in there.  This change was implemented with Windows 2003 SP1 and will actually be very helpful for those of you using <plug for='marketing guys'>SharePoint Products and Technologies</plug> in the Extranet.
 
As many of you who know and love IIS are familiar with, since the beginning of time, or around 1995 when IIS first showed up, you could not use Host Headers with SSL.  The reason for that is because the host header information was encrypted in the packet before IIS unlocked it, so it could not be used to redirect traffic.  Responding to its 10-year itch, the IIS team has come through BIG TIME with some help.
 
SP1 now supports the use of Host Headers with SSL secured by wildcard certificates.  So what does that mean?  If you are wanting to host multiple SharePoint sites on the same physical server and they require SSL, you may be able to get relief now instead of waiting for WSS SP2.  It just requires that your sites will be using a common DNS namespace (i.e. *.foo.com, *.bar.net, etc.).
 
The steps simply stated are:
 
1.  Install Windows 2003 SP1.
2.  Update DNS with an entry for each Host Header name; the IP for each entry will point to the same server (or Virtual IP if you are using load balancing).
3.  Obtain a wildcard SSL certificate for your domain and install it on your web front end(s).
4.  Create multiple virtual servers; all can use port 80 and 443 - differentiate between them with Host Headers.  If you don't do anything else at this point you may notice one or more of your virtual servers shutting down in the IIS Manager - don't worry!  Yet.  :-)
5.  Follow the instructions, in order, described in these two Microsoft articles:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5d0fb4c2-3333-4fec-82fc-6e15d3733937.mspx

That's it - you're finished!  You can now use multiple virtual servers with SSL and SharePoint, and not have to wait for WSS SP2.  We've done some initial testing with this in our lab configuration and found it to work quite well.
 
Steve
re: SSL Relief for SharePoint
Hi,
this works great except when using the OM ex:
SPSite testSite = new SPSite("https://SiteName");
String strURL = testSite.Url.ToString ();
if SiteName is diferent from the machine's name this fails when using ssl with host headers, although it works great without ssl.
any ideas?
Nelson Rodrigues @ 12/13/2005 4:35 AM
Microsoft Certified Master
Are you looking for a team of SharePoint experts?
ShareSquared can help ... drop us a note.
 
 
ShareSquared, Inc.
MVP Logo
Keyword Search
 
View by category
 

Disclaimer:
The contents of this site represent thoughts and opinions of the authors , not those of anyone else - such as past, present and future employers.  This a forum of the exchange of ideas centered on SharePoint technologies.  It is not a support channel.  :)

Copyright © 2004-2009 BluedogLimited.com. All rights reserved.