How to Back Up an Internet Information Services 5.0 Server Certificate

ID: Q232136


The information in this article applies to:
  • Microsoft Internet Information Services version 5.0


SUMMARY

When you use Internet Information Services (IIS) 5.0, you may want to back up your server certificate(s). Windows 2000 makes this process easy using the new Certificates snap-in.


MORE INFORMATION

In order to perform the backup, you must first create a new MMC and add the Certificates snap-in. You can also add the snap-in to another MMC as long as it is opened in Author mode.

Use the following steps to create a new MMC and add the Certificates snap-in:

  1. Click Start , and then click Run.


  2. Type in "MMC.EXE" (without the quotation marks) and click OK.


  3. Click Console in the new MMC you created, and then click Add/Remove Snap-in.


  4. In the new window that appears, click Add.


  5. Highlight Certificates , and then click Add.


  6. Choose the Computer option and click Next.


  7. Select Local Computer on the next screen, and then click OK.


  8. Click Close , and then click OK.


  9. You have now added the Certificates snap-in, which will allow you to work with any certificates in your computer's certificate store. You may want to save this MMC for later use.


Now that you have added the Certificates snap-in, you can export the key pair that your Web server is using (the certificate and public key). To do this, perform the following steps:
  1. Open the Certificates (Local Computer) snap-in you added in the last section, navigate to Personal, and then to Certificates.


  2. You will see your Web server certificate denoted by the CN (Common Name) found in the Subject field of the certificate (using Internet Explorer 5.0, you can easily view the certificate to see the Common Name if you are unsure).


  3. Right-click on the server certificate, select All Tasks, and then click Export.


  4. When the wizard starts, click Next. Choose to export the private key, and then click Next.


  5. The file format you will want to choose is the Personal Information Exchange (though you can select from several options). This will create a PFX file. Notice that you can export any certificates in the certification path by selecting the option on this screen. This is very handy if your certificate was issued by a non-trusted certificate authority (for example, Microsoft Certificate Server). Only choose delete the private key if the export is successful to be sure it is not left on the computer (for example if your migrating from one server to another).


  6. Click Next, and then choose a password to protect the PFX file. You will need to enter the same password twice to ensure that the password is typed correctly. When you have completed this step, click Next.


  7. Choose the file name you want to save this as. Do not include an extension in your file name; the wizard will automatically add the PFX extension for you.


  8. Click Next, and then read the summary. Pay special attention to where the file is being saved to. If you are sure the information is correct, choose Finish.


  9. You now have a PFX file containing you server certificate and its corresponding private key. Be sure to protect this file! You may want to move it to a floppy disk and store it somewhere safe from outside disturbance. Keep in mind, if you run a backup on the server, this file may be saved in that backup if it is still on the server.


For more information, see the Internet Information Services 5.0 documentation.

Additional query words: iis

Keywords :
Version : winnt:5.0
Platform : winnt
Issue type : kbinfo


Last Reviewed: February 2, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.