Partager via


Export a Server Certificate (IIS 7)

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

Export a certificate from a source server when you want to apply the same certificate to a target server, or when you want to back up a certificate and its associated private key.

Note

If you associate a password with the certificate, whoever imports the certificate must know the password before the certificate can be applied to the target server. If you forget the password, you will not be able to recover the exported 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 export 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. Select a certificate and click Export from the Actions pane.

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

    1. Type a file name in the Export to box or click the browse button () to navigate to the name of a file in which to store the certificate for exporting.

    2. Type a password in the Password box if you want to associate a password with the exported certificate.

    3. Retype the password in the Confirm password box and then 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