Questions tagged [signtool]

The SignTool tool is a command-line tool that digitally signs files, verifies signatures in files, or time stamps files.

The SignTool tool is a command-line tool that digitally signs files, verifies signatures in files, or time stamps files. For information about why signing files is important, see Introduction to Code Signing. The tool is installed in the \Bin folder of the Microsoft Windows Software Development Kit (SDK) installation path.

SignTool is available as part of the Windows SDK, which you can download.

342 questions
0
votes
1 answer

Getting An error occurred while signing: Failed to sign file.exe. SignTool Error: No certificates were found that met all the given criteria

OK - so this is really odd. I have a TFS build that signs a file and I'm getting the message above. If I look at the log from the build it says that it successfully signed and timestamped my file, (there's a .proj file that manually calls signtool)…
Ben_G
  • 770
  • 2
  • 8
  • 30
0
votes
0 answers

Sign Microsoft Windows executable with a key valid by the chain model but not the shell model

I have a digital key which is valid until 2019. However the certifing key and the root certificate have been valid until March 2017 only. Hence my key is not valid anymore under the shell modell (where the outer keys must be valid at least as long…
Claude
  • 1,724
  • 3
  • 17
  • 46
0
votes
0 answers

x64 C# Application does not display OpenFileDialog once the exe is signed with SignTool

My C# application seems to freeze when i try launching the OpenFileDialog() for Import functionality. This has started happening since I've signed the exe with SignTool. With reference to,…
0
votes
1 answer

Osslsigncode can't locate openssl on Windows

I'm trying to install osslsigncode on a Windows 10 machine. I've installed OpenSSL, and when I run OpenSSL from MinGW I get OpenSSL> And I can run genrsa, etc. But when I run ./configure for osslsigncode, I get this error: …
Vishwa
  • 21
  • 4
0
votes
1 answer

TFS 2017 MSBuild SingTool not found for Clickonce

I recently moved my TFS to a new server. After installing everything and setting up a new Agent my builds got the following error: Error MSB3482: An error occurred while signing: SignTool.exe was not found at path \signtool.exe. On my other server…
Zarkos
  • 457
  • 10
  • 30
0
votes
1 answer

DigiCert Wizard No certificate availble Win 10

I'm trying to use DigiCert Gui to sign an EXE and a DLL. The certificate was available to the previews User Account but the PC was moved to a different location and different Working Group and that user is gone. When I click the "Select from…
Ehud Grand
  • 3,501
  • 4
  • 33
  • 52
0
votes
1 answer

Signtool changes file size and corrupts file

I've gotten a signing certificate for my company. We are trying to sign our installer. We use signtool: signtool sign /f %certfile% /p %certpass% /t http://timestamp.comodoca.com/authenticode file.exe The output exe file is larger than the…
Michael
  • 401
  • 5
  • 16
0
votes
1 answer

Issue with signing with Visual Studio For the Installer

I have a Visual Studio 2015 C# Solution, it has about 8 assemblies and executable and some exes require elevated permission. So I sign my executable and assemblies with a certificate on the post-build of each executable and assembly. Then I sign…
billsecond
  • 612
  • 3
  • 21
  • 50
0
votes
1 answer

New SignTool Certificate and Password causes MSBuild/WiX postbuild events to fail

I have been using PostBuild events in my deployment solution in both my DLL project and my WiX project (used to build an MSI) successfully for the last 4 years. Recently, we received a new certificate and password since the prior certificate…
Lee Z
  • 802
  • 2
  • 13
  • 39
0
votes
1 answer

requestedExecutionLevel reset after using signtool.exe

I'm using signtool.exe to create a digital signature for my Installer.exe, but I want the installer's manifest file to have the requestedExecutionLevel = "requireAdministrator". To do so I'm running a build.bat file that contains the following:…
CFIP
  • 7
  • 4
0
votes
1 answer

Cannot publish because a project failed to build The "SignFile" task failed unexpectedly

I am new to this community and really desperate right now. The publishing of my tools wont work. I have searched the internet already for one week, but couldn't find any solution. Also my colleges haven't encountered my issue before. This is what…
Kenan.A
  • 1
  • 2
0
votes
1 answer

How to deploy a web application to Azure Web App while signing the binaries?

I have a solution with a web application that I want to deploy to Azure App Service. My solution contains assembly attributes to sign the assemblies using an installed key container (using sn -i ). This solution also builds an…
Charles Prakash Dasari
  • 4,964
  • 1
  • 27
  • 46
0
votes
0 answers

Signtool validation fails when signing and validating are done in different machines

I am signing an exe from a machine using a cer file. Then when I validate the EXE using the signtool.exe from the same machine, it succeeds. But when I try to validate it using the same .cer installed in another machine it fails with the following…
AnOldSoul
  • 4,017
  • 12
  • 57
  • 118
0
votes
1 answer

Using a pfx file to sign and verify using signtool.exe

I am trying to sign one of my WIX EXEs using sign tool. When I create a certificate and install it to windows certificate store, I can easily verify the EXE using sign tool. But when I try to create a PFX file and sign it, it gets signed…
AnOldSoul
  • 4,017
  • 12
  • 57
  • 118
0
votes
0 answers

How to verify the digital signature of .EXE or DLL in Java

I would like to verify the digital signature of calling application ( .Exe file ) using Java API, i could see similar question posted for this but its unanswered Java program to verify digital signature signed by signtool In short I am looking for…