Exporting a certificate to a file

26 April 2024

ID 186296

To export a certificate with a private key to a file:

  1. Open the Microsoft Management Console (MMC).
  2. Select FileAdd/Remove Snap-in.

    This opens the Add or Remove Snap-ins window.

  3. Select the Certificates snap-in and click Add.

    This opens the Certificates Snap-in window.

  4. Select My user account and click Finish.
  5. In the Add/Remove Snap-ins window, click OK.
  6. In the console tree, select Certificates – Current UserPersonalCertificates.
  7. In the workspace, select the certificate you generated earlier and double-click it to open its properties.
  8. Select the Details tab.
  9. Click Copy to File.

    This starts the certificate export wizard.

  10. In the Export Private Key window, select Yes, export the private key.
  11. In the Export File Format window:
    1. Select Personal Information Exchange – PKCS #12 (.PFX).
    2. Select the Include all certificates in the certification path if possible check box.
  12. In the Security window:
    1. Select the Password check box.
    2. In the text box under the check box, enter a password to protect the certificate.
    3. Type the password again in the Confirm password field.
  13. In the File to Export window:
    1. Click Browse.
    2. This opens the Save as window.
    3. Select a path on your computer where you want to save the certificate file.
    4. Enter the file name and click Save.
  14. In the Completing the Certificate Export Wizard window, click Finish.

The certificate with a private key is exported to a file. The file is saved on your computer at the specified path.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.