Depending on the circumstance you may need to import a Microsoft Code Signing Certificate into an alternate system/systems to perform signing of an office macro or a Visual Studio Application.  Visual Studio refers to the same certificate stores as Internet Explorer (IE). So if you need to move a code signing certificate from one system to another Internet explorer will be used for the import of the certificate.

Certificate Authorities (CA’s) usually use either Firefox or Internet Explorer to generate Code Signing certificates during enrollment and pickup of the certificate. To being the process on moving your certificate from one system to another refer to the how to export instructions below. If Firefox was used for code signing certificate creation and pickup it will then need to be Export from Firefox then Imported into IE so Visual Studio can use it.

How to export a certificate from Internet Explorer.

How to export a certificate from Firefox.

We will assume now that you already have a certificate PKCS#12 (.pfx/.p12) file ready for import.

To Import your Code Signing Certificate Into IE/Visual Studio perform the following:

Step 1: Accessing the Windows IE Certificate store.

  1. In your Internet Explorer browser click on the gear 2016-04-20_0858 in the upper right of the browser.
  2. Click Internet Options.Internet Explorer Certificate backup
  3. Click the tab Content.
  4. Click Certificates.
    Internet Explorer certificate backup
  5. Click the tab Personal.
  6. Click Import…

Step 2: The Certificate Import Wizard.

  1. In the Certificate Import Wizard click Next.

  2. Click Browse.
  3. In the windows explorer window browse to the location and path of your pfx/.p12 code signing certificate file. You will have to change the file type to search for in the drop down menu to Personal Information Exchange (*.pfx, *.p12)
  4. Once you navigated to the location/path and clicked your code signing certificate click Open.
  5. Click Next.
  6. Click Next.
  7. Click Finish.
  8. Click Ok.

Grats! you have just imported your Code Signing Certificate into your system to be recognized by Visual Studio.

You can double check this by performing the following…

  1. With the project node selected in Solution Explorer, from the Project menu, click Properties (or right-click the project node in Solution Explorer, and click Properties).
  2. In the Project Designer, click the Signing tab.
  3. You should see your Code Signing CA issued certificate as a option.

For more information on Visual Studio and Code Signing visit  Microsoft Support

LoadingAdd to favorites

About SSLSupportDesk:

SSLSupportDesk is part of Acmetek who is a trusted advisor of security solutions and services. They provide comprehensive security solutions that include Encryption & Authentication (SSL), Endpoint Protection, Multi-factor Authentication, PKI/Digital Signing Certificates, DDOS, WAF and Malware Removal. If you are looking for security look no further. Acmetek has it all covered!

Contact an SSL Specialist to get a consultation on the Website Security Solutions that can fit your needs.

Become a Partner and create additional revenue stream while the heavy lifting for you.