共用方式為


Export a certificate

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To export a certificate

  1. Open the Certificates console for the user, computer, or service you want to manage.

    Tip

    For instructions on creating a Microsoft Management Console (MMC) that allows you to manage the certificates of a user account, computer account, or service account, see the appropriate article from the following list

  1. Manage certificates for your user account

  2. Manage certificates for a computer

  3. Manage certificates for a service

  1. In the console tree, select the correct store that has the certificate you want to request. For example, under Certificates – Current User, expand Personal, click Certificates.

    Note

    For information on the different view options, see Certificates Console (https://go.microsoft.com/fwlink/?LinkId=209851).

  2. In the details pane, click the certificate you want to manage.

  3. On the Action menu, point to All Tasks, and then click Export.

  4. In the Certificate Export Wizard, click No, do not export the private key. (This option will appear only if the private key is marked as exportable and you have access to the private key.)

  5. Provide the following information in the Certificate Export Wizard:

    • Click the file format you want to use to store the exported certificate: a DER-encoded file, a Base64-encoded file, or a PKCS #7 file.

    • If you are exporting the certificate to a PKCS #7 file, you also have the option to include all certificates in the certification path.

Warning

  • For the procedure to export a certificate with the private key, see Related Topics.

  • After the Certificate Export Wizard is finished, the certificate will remain in the certificate store in addition to being in the new file. If you want to remove the certificate from the certificate store, you must delete it.

  • Information about functional differences

    • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

    See Also

    Concepts

    Importing and exporting certificates
    Manage certificates for your user account
    Manage certificates for a computer
    Manage certificates for a service
    Display certificate stores in Logical Store mode
    Export a certificate with the private key
    Import a certificate
    Delete a certificate