To import your Code Signing Certificate into MMC, you will need to follow the steps below to add the Certificates snap-in to the Console. You will also need your certificate formatted as a P7B/PKCS7 file.
Add Certificates Snap-In to MMC:
- From Microsoft Windows, click Start.
- In the Search programs and files field, type mmc.
- Click File > Add/Remove Snap-in.
- From the list of available snap-ins, select Certificates. Click Add.
- Select Computer account. Click Next.
- Select Local computer and click Finish.
- In the Add/Remove Snap-in window, click OK.
- Save the console settings for future use.
- Expand the Personal folder > right click the Certificates sub-folder > All Tasks > Import.
- Once the Certificate Import Wizard opens up, select Local Machine and click Next.
Import the Certificate to MMC
- Browse to the location where you saved the P7B file on your computer and select the file, then Open. When the certificate is selected, click Next.
- Check Place all Certificates in following store, and select Personal.
- Review the selections on the final page of the Certificate Import Wizard and click Finish.
Export PFX from MMC
Now you must export the certificate with its private key from MMC and save it as a PFX type file.
- Click the Personal folder in the left-side panel to expand the menu.
- Click Certificates underneath the Personal folder.
- Right-click the certificate you want to export to .pfx file.
- From the drop down, click on All Tasks and then Export.
- Once the Certificate Export Wizard opens, click Next.
- At the next screen, choose "Yes, export the private key". Click on Next. If the export private key option is not available, the private key may not be found. You must have the private key to continue.
- At the next step, Personal Information Exchange - PKCS #12 (.PFX) is selected by default.
- Click on "Include all certificates in the certification path if possible"
- Click on "Enable strong protection" to set a password on the PFX file.
- Do not select the option to delete the private key unless you do not want the certificate to be exportable from this PC in the future.
- On the next screen, create your PFX password, then continue.
- Select the location on your PC to save the exported PFX file.
- Once you reach the summary screen, you can Finish the process.
You should now have your Code Signing PFX file saved on your computer, and you can install it or move it to another system as needed.