Export a certificate with the private key
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
To export a certificate with the private key
Open the Certificates console for the user, computer, or service you want to manage.
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
- Manage certificates for your user account
- Manage certificates for a computer
- Manage certificates for a service
In the console pane, select the certificate store and container holding the certificate that you want to export.
In the details pane, click the certificate you want to export.
On the Action menu, point to All Tasks, and then click Export.
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.)
Under Export File Format, do one or all of the following, and then click Next.
To include all certificates in the certification path, select the Include all certificates in the certification path if possible check box.
To enable strong protection, select the Enable strong protection (requires IE 5.0, NT 4.0 SP4 or above) check box.
To delete the private key if the export is successful, select the Delete the private key if the export is successful check box.
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.
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.
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.
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.
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
Import a certificate
Delete a certificate