[This is preliminary documentation and subject to change]

Obtaining a Server Certificate

There are two ways to obtain a server certificate. You can issue your own certificate, or you can obtain a certificate from a certification authority. The following procedures explain how you can implement certificates on your server. To learn more about certificates, see About Certificates.

important Important    It is important to safeguard the certificate and key pair; always back them up onto a disk and keep the disk in a secure place.

To issue your own server certificate

Consider the following issues when deciding whether to issue your own server certificates:

  1. Use Certificate Services to create a customizable service for issuing and managing certificates. You can create server certificates for the Internet or for corporate intranets, giving your organization complete control over certificate management policies. For more information, see the Microsoft Certificate Services documentation.
  2. Use the Web Server Certificate Wizard to request and install your server certificate.

Notes

 

To obtain a server certificate from a certification authority

If you are replacing your current server certificate, IIS will continue to use the old certificate until the new request has been completed.

  1. Find a certification authority that provides services that meet your business needs and then request a server certificate.

    Consider the following issues when choosing a certification authority:

    For the latest list of certification authorities supporting Internet Information Services, visit the Microsoft Security Services Partner Program Web site. In the Search by Product & Technology list, select IIS or PKI and Certificates.

  2. Use the Using the New Security Task Wizards to create a certificate request, which you can send to the certification authority.
  3. Send the request to the certification authority. They will process the request and send you the certificate.

    note Note    Some certification authorities require you to prove your identify before processing your request or issuing you your certificate.

  4. Use the Using the New Security Task Wizards to install your certificate.

    note Note    When you send an online request for a server certificate assigned to your server using the Certificate Wizard in the IIS snap-in, a certificate assigned to the certificate authority (CA) may be installed on your server. The folder "Issued Certificates" shows a certificate issued to your server, but the certificate is actually issued to the CA.

    To work around this problem, go off line while creating your certificate request. In the Certificate Wizard, select "Prepare the request now, but send it later." Do not select "Send the request immediately to an online certification authority."

Creating a backup copy of your server certificate and private key

In the previous release of IIS, Key Manager was used to back up server certificates. In this release of IIS, the Web Server Certificate Wizard replaces Key Manager. Because IIS works closely with Windows, you can use the Certificate Manager tool to export and back up your server certificates.

To back up your server certificate

  1. Locate the correct certificate store. This is typically the Local Computer store in Certificate Manager.

    note Note    If you do not have Certificate Manager installed in the MMC, you will need to install it.

  2. Select the certificate in the Personal store.
  3. Open the Action menu, point to All tasks, and click Export.
  4. In the Certificate Manager Export Wizard, select Yes, export the private key.
  5. Follow the wizard default settings, and enter a password for the certificate backup file when prompted.

    important Important    Do not select Delete the private key if export is successful, because this will disable your current server certificate.

  6. Complete the wizard to export a backup copy of your server certificate.
To add Certificate Manager to the MMC

If you already have Certificate Manager installed in the MMC, it will point to the correct Local Computer certificate store.

  1. Open an MMC console and select Add/Remove Snap-in from the File menu.
  2. Click Add.
  3. Select Certificates.
  4. Click Add.
  5. Select the Computer Account option.
  6. Select the Local Computer option.
  7. Click Finish.

Server Certificates and Upgrades

Due to changes in the way that IIS uses server certificates, you may experience difficulty removing and reassigning your server certificate after an upgrade to Microsoft Windows. To fix this problem, use the Visual Basic script below to change metabase settings and to remove the certificate. You can then use the Web Site Certificate Wizard in IIS to reassign the certificate.

Set Machinename to the name of the machine or localhost
Set PathObj = GetObject("IIS://" & MachineName & "/w3svc")
PathObj.PutEx 1, "SSLCertHash", ""
PathObj.PutEx 1, "SSLStoreName", ""
PathObj.Setinfo



© 1997-2001 Microsoft Corporation. All rights reserved.