Signing Error When Building Project in LabWindows™/CVI™

Updated Jul 25, 2023

Reported In

Software

  • LabWindows/CVI

Issue Details

When I build a project in LabWindows™/CVI™, I get the following build output errors:
> Signing errors
>>An Error occurred in the code signing library
>>Error: Could not open the specified certificate


The error message can look as shown in the following image:
 
code signing certificate error.jpg
 

Solution

This issue may happen when selecting an invalid or no certificate at all in the Signing Information. In order to solve this, please do the following.
  1. Go to Build >> Target Settings and then you can go to Signing Info.
Signing info.png
 
2. Select a valid certificate by clicking on one of the certificates shown in the dialog and click OK. This list displays certificates that are installed in the My certificate store. LabWindows/CVI supports signing only with certificates installed in the My certificate store.
 
Select valid certificate.png
 
If you do not need to sign your application, you could also uncheck the Sign Application box in the Signing information section.
 
uncheck sign application.png