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:
- Click Start , and then click Run.
- Type in "MMC.EXE" (without the quotation marks) and click OK.
- Click Console in the new MMC you created, and then click Add/Remove Snap-in.
- In the new window that appears, click Add.
- Highlight Certificates , and then click Add.
- Choose the Computer option and click Next.
- Select Local Computer on the next screen, and then click OK.
- Click Close , and then click OK.
- 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:
- Open the Certificates (Local Computer) snap-in you added in the last section, navigate to Personal, and then to Certificates.
- 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).
- Right-click on the server certificate, select All Tasks, and then click Export.
- When the wizard starts, click Next. Choose to export the private key, and then click Next.
- 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).
- 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.
- 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.
- 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.
- 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
|