Tuesday, February 7, 2012

Publishing Multiple SharePoint SSL Applications on Port 443

I am running a SharePoint 2010 installation with two web application: onePortal..mydomain.com and one MySite.domain.com on the same IP. This works well on HTTP using host header and SharePoint alternate access mapping.

There are no way in standard user interface for IIS (7.5) to map two Virtual Web Sites to SSL. The user interface only support assigned one Web Site to SSL.

To fix this, short version:

  1. Buy a wildcard certificate, *.mydomain.com
  2. Install certificate on web server and UAG (in my case)
  3. Assign one the SharePoint web site to https using the default user interface for IIS
  4. For the other(s) start command line in %windir%\system32\inetserv\
  5. appcmd list site (to list existing binding - for you information)
  6. appcmd set site /site.name:"MySite Host" /+bindings.[protocol='https',bindingInformation='*:443:mysite.mydomain.com']
  7. appcmd list site (to list existing binding - for you information)
  8. publish urls in UAG

No comments:

Post a Comment