How to Install a Certificate

ID: Q171084


The information in this article applies to:
  • Microsoft Internet Information Server versions 2.0, 3.0


SUMMARY

The following are the steps to successfully install a Certificate using Key Manager with Internet Information Server (IIS).


MORE INFORMATION

  1. Generate a Key Pair File and a Request File.

    1. In the Microsoft Internet Server, click Key Manager, or click the Key Manager icon on the Internet Service Manager toolbar.


    2. From the Key menu, click Create New Key.


    3. In the Create New Key and Certificate Request dialog box, fill in the requested information.


    4. After you fill out the form, click OK.


    5. When you are prompted, retype the password you typed in the form, and click OK.


    6. An icon appears as the key is being created. When the key has been created, a screen appears giving you information about the new keys and how to obtain a certificate.


    7. After you read the New Key Information screen, click OK.


    8. From the Key menu in Key Manager, choose Export Key and then Backup File. Click OK to the warning dialog on your hard disk. Type the key name in the File Name box, and click Save.

      NOTE: Backing up the Key is very important.


    9. To save the new key from the Servers menu, select Commit Changes Now. When asked if you want to commit all changes now, click OK.




  2. Request a Certificate from a Certification Authority.

    To get a Secure Sockets Layer (SSL) Server ID, complete the Online Enrollment Form at the following location:
    http://www.verisign.com for a SSL Server ID


  3. Install the Certificate on your Server.

    1. In the Internet Server program group, click Key Manager.


    2. In the Key Manager window, select the key pair that matches your signed certificate.

      If you backed up the key pair file, you have to load it first. To load a backed-up key file, click Key Manager on the Key menu, select Import Key and then Backup File.


    3. Select the file name from the list, and click Open.


    4. From the Key menu, choose Install Key Certificate.


    5. Select the Certificate file from the list (for example, Certif.txt), and click Open.


    6. When you are prompted, type the password that you used in creating the key pair. The key and certificate are combined and stored in the registry of the server.


    7. Click Commit Changes Now on the Servers menu.


    8. When you are asked if you want to Commit All Changes Now, click OK.




Sending them via mail can corrupt certificates. If you try and install a corrupt certificate, you will get a wrong password error message. You will no longer be able to install the certificate for that key, even if you get a non-corrupt copy.

To uncorrupt the certificate:
  1. Load the certificate in Notepad.


  2. No spaces can exist anywhere in the certificate.


  3. Save it without an extension by selecting the All Files as type. Do not check the unicode box.


  4. Once you have fixed your certificate, you must delete the key and re-import it. Make sure you have saved it first.

    To import the key, click Import on the Key menu, then select Backup file.


Additional query words: iis

Keywords : kbother iishowto
Version : WinNT:2.0,3.0
Platform : winnt
Issue type : kbhowto


Last Reviewed: April 27, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.