Signtool Errors and Solutions

SignTool: No Private Key Error

Error Message
SignTool Error: No private key is available.

Problem

This error message appears when the CSP Library or its dependent library files have been deleted.

Solution

Re-run the SIGN+_Installer in the downloaded SIGN+_Package to install and copy the required library files and retrigger the signing command.

Non Existent File referenced

Error Message
SignTool Error: An unexpected internal error has occurred.
Error information: "Error: Store IsDiskFile() failed." (-2147024893/0x80070003)

Problem

This error message appears when the /f parameter in the signtool command points to a non-existent file.

Solution

Re-run the SIGN+_Installer in the SIGN+_Package to install and copy the required files and use the newly generated command in the README.

SignTool Verification error

Error Message
Error Message: SignTool Error: WinVerifyTrust returned error: 0x800B010A
A certificate chain could not be built to a trusted root authority.

Problem

This error occurs when the file has been signed using a non-trusted certificate (when the customer signs using the appviewx certificate) or the certificate is not imported into the windows certificate store.

Solution

Sign with a trusted Certificate or import the certificate into the windows certificate store and try verifying the file again using the signtool command.