Udostępnij za pośrednictwem


Import a Server Certificate (IIS 7)

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Import a server certificate when you want to restore a lost or damaged server certificate that you previously backed up, or to install a server certificate sent to you by another user or certification authority (CA).

If a password is associated with the server certificate, you must know the password before you can import the server certificate.

Prerequisites

For information about the levels at which you can perform this procedure, and the modules, handlers, and permissions that are required to perform this procedure, see Server Certificates Feature Requirements (IIS 7).

Exceptions to Feature Requirements

  • None

To import a certificate

You can perform this procedure by using the user interface (UI).

User Interface

To use the UI

  1. Open IIS Manager and navigate to the level you want to manage. For information about opening IIS Manager, see Open IIS Manager (IIS 7). For information about navigating to locations in the UI, see Navigation in IIS Manager (IIS 7).

  2. In Features View, double-click Server Certificates.

  3. In the Actions pane, click Import.

  4. In the Import Certificate dialog box, do the following:

    1. Type a file name in the Certificate file box or click the browse button () to navigate to the name of a file where the exported certificate is stored.

    2. Type a password in the Password box if the certificate was exported with a password.

    3. Select Allow this certificate to be exported if you want to be able to export the certificate, or clear Allow this certificate to be exported if you do not want to allow additional exports of this certificate.

  5. Click OK.

Command Line

None

Configuration

None

WMI

Use the following WMI classes, methods, or properties to perform this procedure:

  • None

For more information about WMI and IIS, see Windows Management Instrumentation (WMI) in IIS 7. For more information about the classes, methods, or properties associated with this procedure, see the IIS WMI Provider Reference on the MSDN site.

See Also

Concepts

Configuring Server Certificates in IIS 7