-
On the server where you installed the code signing certificate, choose Start, choose Run, and then in the Open box, type MMC. Choose OK.
On the Console page, on the File menu, select Add/Remove Snap in.
On the Add/Remove Snap-in dialog box, choose Add. The Add Standalone Snap-in page appears. Select Certificates and then choose Add.
On the Certificates snap-in page, select Computer account, and then choose Finish. On the Add Standalone Snap-in page, choose Close, and then on the Add/Remove Snap-in page, choose OK.
On the Console page, in the navigation pane, expand Certificates – Local Computer, and then expand Personal.
In the navigation pane, select Certificates.
In the details pane, locate the certification authority certificate file that was issued for the Code Signing template. This file should have the name of your certification authority. Right-click this certificate, select All Tasks, and then choose Export.
The Welcome to the Certificate Wizard dialog box appears. Choose Next to continue.
On the Export Private Key page, select Yes, export the private key. Choose Next.
On the Export File Format page, make sure that you select Personal Information Exchange – PKCS #12(.PFX). Make sure that you select the Enable strong protection box. Choose Next.
On the Password page, supply a password, and then choose Next.
On the File to Export page, type the path and file name of the .pfx file. For example, C:\signcert.pfx. Choose Next.
Choose Finish. On the Certificate Export Wizard page, choose OK to confirm that the export was successful.
Repeat steps 7 and 8.
On the Export Private Key page, select No, do not export the private key, and then choose Next.
On the Export File Format page, make sure that you select DER encoded binary X.509 (.CER), and then choose Next.
On the File to Export page, type the path and file name of the .cer file. For example, C:\signcert.cer. Choose Next.
Choose Finish. On the Certificate Export Wizard page, choose OK to confirm that the export was successful.