How can I sign a LabVIEW executable if I have a PFX file

Updated Jun 14, 2019

Issue Details

How can I sign an executable I am building if I have a Personal Information Exchange file (.PFX), LabVIEW and LabVIEW Application Builder?

Solution

The standard procedure to sign a LabVIEW executable using a PFX file is described by the following steps:
 

  • Setup
  1.     Install the certificates in your computer by double-clicking the .PFX file and walking through the wizard.
  2.     You will require the password for the certificate to complete the wizard.
  3.     Near the end of the wizard you will get to the page "Certificate Store", when you are there, click on "Browse" and select the option called "Personal".

 

  • Signing
  1.     Select you LabVIEW project or create a new one.
  2.     Create a new EXE build specification.
  3.     On the Windows Security page make sure you can see the certificates you installed.
  4.     Select one of the certificates in the drop down menu.
  5.     Enter the associated timestamp URL. For example the following is one of Verisigns URLs "http://timestamp.verisign.com/scripts/timestamp.dll".
  6.     Enter the timestamp URL description. (Optional )
  7.     Build the EXE.

   

  • Validation
  1.     Browse to the EXE you just built.
  2.     Right-click the EXE file and choose Properties.
  3.     Select the Digital Signatures tab in the property dialog and verify the certificate is present.
  4.     Also verify the timestamp on the certificate reflects whitin the EXE that was built.