Share via


Back Up Certificates

Applies To: Windows Server 2008

Certificates are important credentials. Their loss or corruption can cause serious harm. Such harm can come from delays in authenticating your identity, blocking authentication, or making it impossible to retrieve encrypted data. You can back up certificates to protect them from loss or corruption, or to move them to a different computer.

Users or local Administrators are the minimum group memberships required to complete this procedure. Review the details in "Additional considerations" in this topic.

To back up a certificate

  1. Open the Certificates snap-in for a user, computer, or service.

  2. Do one of the following:

    • If you are in Logical Certificate Stores view mode, in the console tree, click Certificates.

    • If you are in Certificate Purpose view mode, in the console tree, click Purpose.

  3. In the details pane, click the certificate you want to export.

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

  5. 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.)

  6. Provide the following information in the Certificate Export Wizard by selecting the file format you want to use to store the exported certificate: a DER-encoded binary X.509 (.CER), a Base64-encoded X.509 (CER), or a PKCS #7 Certificates (.P7B) 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.
  7. If required, In Password, type a password to encrypt the private key you are exporting. In Confirm password, type the same password again, and then click Next.

  8. In File name, type a file name and path for the PKCS #12 file that will store the exported certificate and private key, click Next, and then click Finish.

Additional considerations

  • User certificates can be managed by the user or by an administrator. Certificates issued to a computer or service can only be managed by an administrator or user who has been given the appropriate permissions.

  • To open the Certificates snap-in, see Add the Certificates Snap-in to an MMC.

  • 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.

Additional references

Back Up a Certificate With Its Private Key.