Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


January 2001

Implementing SSL on IIS 5.0

RSS
Subscribe to Windows Web Solutions | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Request, install, and troubleshoot an SSL certificate

Netscape designed the Secure Sockets Layer (SSL) protocol to encrypt communications traveling over the Internet. You can use SSL to encrypt email messages and files as well as to further secure Web sites that use Basic authentication, and to encrypt sessions between client browsers and Web servers. SSL is fairly complex, but if you want more information about it, see "Related Reading," page 10.

Why would you want to SSL-enable your Web site? If you're running an e-commerce site, a corporate intranet, or a site that stores any personal information, you might want an SSL certificate for two major reasons: to protect your business and to protect your customers or users. My aim is to help you get a secure IIS 5.0 Web site running as quickly and painlessly as possible.

Keep in mind that SSL alone isn't enough to secure your Internet operations. Think of SSL as the armor on an armored car carrying sensitive data. If you use SSL to collect credit card information from your customers but then store the data in a plaintext file on your server, you might very well be defeating the purpose of using SSL in the first place.

SSL Costs
A legitimate question to ask when considering SSL is, how much will it cost? Perhaps the biggest cost is the CPU cycles SSL will burn up on your system. Adding SSL will have minimal effect on your programming work, forms, and scripting, and implementing SSL on IIS 5.0 is simple (assuming, of course, that you read this article first).

Table 1 shows the monetary cost of a 40-bit SSL certificate from several Certificate Authorities (CAs). You can also purchase a more secure 128-bit solution, but the added security will cost you more. VeriSign is the most expensive, but it's also the best-known CA, so I trust it to protect my data and business. Another good reason to go with a big name in the business is that browsers will likely support it. To see the list of CAs that Microsoft Internet Explorer (IE) 5.0 recognizes and automatically trusts, choose Internet Options from the Tools menu. On the Content tab, click Certificates. The Certificates dialog box's Intermediate Certification Authorities tab and Trusted Root Certification Authorities tab each displays a list of CAs. Figure 1 shows the Trusted Root Certification Authorities tab.

Requesting a Certificate
After you decide on a CA, you're ready to begin the process of generating a certificate signing request (CSR). The first step is to open Internet Services Manager (ISM) in Windows 2000's Administrative Tools folder. Right-click the Web site for which you want to create a CSR, and select Properties, as Figure 2 shows. Select the Directory Security tab, and click Server Certificate to start the Web Server Certificate Wizard, which guides you through these six steps:

  1. At the first screen, select the option to create a new certificate.
  2. Supply a certificate name and a bit length for the certificate's encryption key. The name is for display purposes and can be anything you want, but it should describe the Web site. The goal is to differentiate this certificate from any other certificates you might have. The default bit length for the key is 512, but I recommend using 1024 bits or higher. VeriSign also recommends using a 1024-bit length key because 512-bit keys have been cracked. For more information about the vulnerability of 512-bit keys, see http://www.verisign.com/cus/srv/faq/512/index.html.
  3. Supply an organization name and an organizational unit (OU) name. Like the certificate name, these descriptors are handy if you manage many certificates. Stick to alphanumeric characters and spaces; avoid characters such as commas and semicolons.
  4. Supply the common name (CN) for the Web site. Type the URL that users enter to access the site. For example, if your site is Amazon.com, your CN is www.amazon.com. If the site is your intranet, which runs only on a LAN with NetBIOS, your CN might just be intranet. The key here is to enter exactly what you intend users to enter to access the site.
  5. Supply your city and state. Enter the complete names—some CAs don't recognize two-letter state abbreviations.
  6. Finally, choose a filename (IIS 5.0 typically assumes a .cer extension for certificate filenames) and location in which to save the CSR, click Next, then click Finish to generate the CSR file.
   Previous  [1]  2  Next 


Reader Comments
Very nice explanation, thank you very much indeed.

Chris Hebrard October 27, 2003


Hi, The explanation was very helpful. Can I create my own certificate to use in my intranet instead of getting a certificate from a certificate agency. If yes how. It would be very kind of you to let me know on amolsbox@rediffmail.com
Thanks in advance.
Amol

Anonymous User October 26, 2004


Hi, The explanation was very helpful. Can I create my own certificate to use in my intranet instead of getting a certificate from a certificate agency. If yes how. It would be very kind of you to let me know on amolsbox@rediffmail.com
Thanks in advance.
Amol

Anonymous User October 26, 2004


Hi, The explanation was very helpful. Can I create my own certificate to use in my intranet instead of getting a certificate from a certificate agency. If yes how. It would be very kind of you to let me know on amolsbox@rediffmail.com
Thanks in advance.
Amol

Anonymous User October 26, 2004


I need to have only some pages of my site as SSL secured.Can someone tell me how to automatically redirect a http page to https.

Thanks

Anonymous User January 19, 2005


Thank You So Much. This is thee only place I found that told me to add port 443. I could not figure why https:// gave me nothing. Thanks again

guest May 26, 2006 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing