Exporting a Certificate with the Private Key


To Export a Certificate with the Private Key

1.     Open Certificates > Current User.

2.     Do one of the following:

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

o       Certificates - Current User/Logical store/Certificates.

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

o       Certificates - Current User/Purpose.


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

4.     Select Action > All Tasks > Export.

5.     In the Certificate Export Wizard, click Yes, 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.     Under Export File Format, do one or all of the following, and then click Next.

o       To include all certificates in the certification path, select the Include all certificates in the certification path if possible check box.

o       To enable strong protection, select the Enable strong protection (requires IE 5.0, NT 4.0 SP4 or above) check box.

o       To delete the private key if the export is successful, select the Delete the private key if the export is successful check box.


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



o       The link in the first step opens Certificates for the current user. To open Certificates for a service account or computer account, follow the directions below.

o       To open Certificates, click Start > Run, type mmc, and then click OK. Select File > Open, click the console that you want to open, and click Open. Then, in the console tree, click Certificates.

o       If you have not already created an MMC console that contains Certificates, see Related Topics.

o       If a certificate was issued from a Windows Server 2003 certification authority, the private key for that certificate is only exportable if the certificate request was made via the Advanced Certificate Request certification authority Web page with the Mark keys as exportable check box selected, or if the certificate is for EFS (Encrypting File System) or EFS recovery.

o       Strong protection (also known as iteration count) is enabled by default in the Certificate Export Wizard when you export a certificate with its associated private key.

o       Strong protection is not compatible with older programs, so you need to clear the Enable strong protection option if you are going to use the private key with any browser earlier than Microsoft Internet Explorer 5.

o       After the Certificate Export Wizard is finished, the certificate will remain in the certificate store in addition to being in the newly-created file. If you want to remove the certificate from the certificate store, you will need to delete it.


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.