<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Shenanigans : SharePoint</title><link>http://blogs.technet.com/blairb/archive/tags/SharePoint/default.aspx</link><description>Tags: SharePoint</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to use SSL Certificates with Multiple Subject Alternative Names in MOSS</title><link>http://blogs.technet.com/blairb/archive/2008/01/11/how-to-use-ssl-certificates-with-multiple-subject-alternative-names-in-moss.aspx</link><pubDate>Fri, 11 Jan 2008 19:44:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2736807</guid><dc:creator>blairb</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.technet.com/blairb/comments/2736807.aspx</comments><wfw:commentRss>http://blogs.technet.com/blairb/commentrss.aspx?PostID=2736807</wfw:commentRss><wfw:comment>http://blogs.technet.com/blairb/rsscomments.aspx?PostID=2736807</wfw:comment><description>&lt;p style="margin-left: 1pt"&gt;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…&lt;br/&gt;&lt;br/&gt;First:&lt;br/&gt;Verify all host names are in DNS and correct &lt;br/&gt;Verify you have an SSL cert with the SAN's you need and that certificate is available on each WFE. &lt;br/&gt;Verify all sites are created/extended and currently NOT using SSL.  
&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL1.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;MOSS is the main site - Default Zone &lt;br/&gt;MOSSANON is the site Anonymous Access enabled - Internet Zone &lt;br/&gt;MOSSEXTRANET is the site that would be FBA or some other auth mechanism - Extranet Zone &lt;br/&gt;&lt;br/&gt;Change the AAM's for each zone through Central Administration: &lt;br/&gt;&lt;br/&gt;From: &lt;br/&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL2.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;To: &lt;br/&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL3.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;From: &lt;br/&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL4.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;To: &lt;br/&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL5.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt; 
 &lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;From: &lt;br/&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL6.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;To: &lt;br/&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL7.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;   
 &lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;Assign the certificate to all 3 websites - only the first one applied will start - this is to be expected. &lt;br/&gt;&lt;br/&gt;One each WFE navigate via command prompt to &amp;lt;System Drive&amp;gt;:\Inetpub\AdminScripts &lt;br/&gt;&lt;br/&gt;Type the following command at the command prompt for each host header in this format :&lt;br/&gt;&lt;br/&gt;&lt;span style="font-family:Courier New"&gt;cscript.exe adsutil.vbs set /w3svc/&lt;em&gt;&amp;lt;site identifier&amp;gt;&lt;/em&gt;/SecureBindings ":443&lt;em&gt;:&amp;lt;&lt;span style="color:black"&gt;&lt;strong&gt;host&lt;/strong&gt;&lt;/span&gt; header&amp;gt;&lt;/em&gt;" &lt;/span&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;NOTE: Site Identifier can be obtained in the IIS MMC:  
&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL8.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;     
 &lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;So in our example: &lt;br/&gt;&lt;br/&gt;&lt;span style="font-family:Courier New"&gt;cscript.exe adsutil.vbs set /w3svc/&amp;lt;site identifier&amp;gt;/SecureBindings ":443:moss.litware.com" &lt;br/&gt;cscript.exe adsutil.vbs set /w3svc/&amp;lt;site identifier&amp;gt;/SecureBindings ":443:mossanon.litware.com" &lt;br/&gt;cscript.exe adsutil.vbs set /w3svc/&amp;lt;site identifier&amp;gt;/SecureBindings ":443:mossextranet.litware.com" &lt;/span&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;Run IISRESET 
&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;&lt;strong&gt;Repeat this on the other WFE's &lt;br/&gt;&lt;br/&gt;&lt;/strong&gt;Verify all sites are responding:   
&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;&lt;img src="http://blogs.technet.com/blogfiles/blairb/011108_1643_HowtouseSSL9.png" alt=""/&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;   
 &lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;&lt;strong&gt;Troubleshooting: &lt;/strong&gt;
	&lt;/p&gt;&lt;p style="margin-left: 1pt"&gt;Follow sequence of steps in specified order – very important!&lt;br/&gt;Verify all sites are started in IIS and no errors reported. &lt;br/&gt;Verify by Viewing the SSL cert on each website that the SSL cert has a matching private key. &lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2736807" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/blairb/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.technet.com/blairb/archive/tags/Security/default.aspx">Security</category></item></channel></rss>