Welcome to TechNet Blogs Sign in | Join | Help

SharePoint Shenanigans

Blair Bigger [MSFT]
How to use SSL Certificates with Multiple Subject Alternative Names in MOSS

Some companies do not allow wildcard * SSL certificates – but do allow certificates with multiple subject alternative names. Unfortunately there is not a way to easily implement this in MOSS via the GUI. I had a customer that required this – so I figured I'd share what I found…

First:
Verify all host names are in DNS and correct
Verify you have an SSL cert with the SAN's you need and that certificate is available on each WFE.
Verify all sites are created/extended and currently NOT using SSL.  

MOSS is the main site - Default Zone
MOSSANON is the site Anonymous Access enabled - Internet Zone
MOSSEXTRANET is the site that would be FBA or some other auth mechanism - Extranet Zone

Change the AAM's for each zone through Central Administration:

From:

To:

From:

To:

   

From:

To:

     

Assign the certificate to all 3 websites - only the first one applied will start - this is to be expected.

One each WFE navigate via command prompt to <System Drive>:\Inetpub\AdminScripts

Type the following command at the command prompt for each host header in this format :

cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:<host header>"

NOTE: Site Identifier can be obtained in the IIS MMC:  

       

So in our example:

cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:moss.litware.com"
cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:mossanon.litware.com"
cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:mossextranet.litware.com"

Run IISRESET

Repeat this on the other WFE's

Verify all sites are responding:  

     

Troubleshooting:

Follow sequence of steps in specified order – very important!
Verify all sites are started in IIS and no errors reported.
Verify by Viewing the SSL cert on each website that the SSL cert has a matching private key.

Posted: Friday, January 11, 2008 11:44 AM by blairb
Filed under: ,

Comments

Vladimir Kolesnikov said:

Здесь мне хотелось бы рассказать об особенностях развертывания SharePoint под Windows Server 2008 И/ИЛИ

# October 27, 2008 3:38 AM

vladkol on SharePoint said:

Здесь мне хотелось бы рассказать об особенностях развертывания SharePoint под Windows Server 2008 И/ИЛИ...

# January 15, 2009 11:00 AM

SharePoint said:

Links: Design extranet farm topology (Office SharePoint Server) Downloadable book: Planning an Extranet

# March 4, 2009 12:13 PM
Anonymous comments are disabled
Page view tracker