<?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>John Howard - Senior Program Manager in the Hyper-V team at Microsoft : IIS, Website design, production or operation</title><link>http://blogs.technet.com/jhoward/archive/tags/IIS/Website+design_2C00_+production+or+operation/default.aspx</link><description>Tags: IIS, Website design, production or operation</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How-To install a certificate for SSL Encryption under IIS</title><link>http://blogs.technet.com/jhoward/archive/2005/02/04/366883.aspx</link><pubDate>Fri, 04 Feb 2005 11:56:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:366883</guid><dc:creator>jhoward</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/jhoward/comments/366883.aspx</comments><wfw:commentRss>http://blogs.technet.com/jhoward/commentrss.aspx?PostID=366883</wfw:commentRss><description>&lt;P&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Following on from &lt;A href="http://blogs.msdn.com/jhoward/archive/2005/02/02/365399.aspx"&gt;my post a couple of days ago&lt;/A&gt;&amp;nbsp; about using MakeCert to generate a self-signed certificate, this is one way in which you can test that the generated certificate is working correctly for SSL authentication within IIS. It was almost worthy of a &lt;A href="http://blogs.msdn.com/steve_lamb/archive/2005/01/19/355937.aspx"&gt;blogcast&lt;/A&gt; (BTW, congratulations &lt;A href="http://blogs.msdn.com/michael_platt/archive/2005/02/02/365331.aspx"&gt;Mike&lt;/A&gt; for joining in the fun), but given I've all but lost my voice at the moment, here's the old fashioned way.&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Create a new folder such as c:\test, and within it, create a new default.htm file using notepad. The content doesn't matter, but here's a very simple example&lt;BR&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT face="Courier New" color=#008000 size=2&gt;&amp;lt;BODY&amp;gt;&lt;BR&gt;This is my SSL protected site&lt;BR&gt;&amp;lt;/BODY&amp;gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/B&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Start Internet Information Services (IIS) Manager from the Administrative Tools folder&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;(I'm going to lead you through creating a new web-site, although I could assign the certificate to the default web-site)&lt;BR&gt;Right-click on Web-sites and select New Web-Site&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Follow through the wizard. When you get to "Description", enter the name "Test"&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert6.jpg" target=_blank&gt;&lt;IMG height=124 src="http://www.msblogcasts.com/jhoward/makecert6.jpg" width=154&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Keep going through the wizard, and enter c:\test on the path step&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert7.jpg" target=_blank&gt;&lt;IMG height=121 src="http://www.msblogcasts.com/jhoward/makecert7.jpg" width=155&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;On the newly created site, right-click and select properties and select the Directory Security tab&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert8.jpg" target=_blank&gt;&lt;IMG height=150 src="http://www.msblogcasts.com/jhoward/makecert8.jpg" width=154&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Click Server Certificate and work your way through the wizard&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Select Assign an existing certificate&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert9.jpg" target=_blank&gt;&lt;IMG height=115 src="http://www.msblogcasts.com/jhoward/makecert9.jpg" width=148&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Select your newly created certificate&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert10.jpg" target=_blank&gt;&lt;IMG height=115 src="http://www.msblogcasts.com/jhoward/makecert10.jpg" width=150&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Choose port 443 (default SSL port)&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert11.jpg" target=_blank&gt;&lt;IMG height=118 src="http://www.msblogcasts.com/jhoward/makecert11.jpg" width=153&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Click Next/OK to finish the wizard and exit the site properties.&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Currently the web-site is stopped. Right click the Test web-site and choose start&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Open a browser and go to &lt;A href="https://jhoward-5160/test"&gt;https://jhoward-5160/test&lt;/A&gt;, replacing jhoward-5160 with your machines DNS name. &lt;I&gt;Note the &lt;A href="http://blogs.msdn.com/jhoward/archive/2005/02/01/364537.aspx"&gt;MSN Toolbar &lt;/A&gt;&lt;/I&gt;:-)&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert12.jpg" target=_blank&gt;&lt;IMG height=103 src="http://www.msblogcasts.com/jhoward/makecert12.jpg" width=151&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Double-click the padlock icon in the bottom right to view the certificate for your site&lt;BR&gt;&lt;A href="http://www.msblogcasts.com/jhoward/makecert13.jpg" target=_blank&gt;&lt;IMG height=182 src="http://www.msblogcasts.com/jhoward/makecert13.jpg" width=154&gt;&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face="Lucida Sans Unicode" size=2&gt;Congratulations! If everything works this far, you have managed to create and protect a test web-site using SSL encryption and a self-signed certificate generated using MakeCert.exe&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=366883" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jhoward/archive/tags/Website+design_2C00_+production+or+operation/default.aspx">Website design, production or operation</category><category domain="http://blogs.technet.com/jhoward/archive/tags/Windows+Server+2003/default.aspx">Windows Server 2003</category><category domain="http://blogs.technet.com/jhoward/archive/tags/How+to+Articles/default.aspx">How to Articles</category><category domain="http://blogs.technet.com/jhoward/archive/tags/IIS/default.aspx">IIS</category></item></channel></rss>