378 questions
1
vote
0
answers
857
views
SignTool - sign $(TargetFileName) in VS solution in release configuration
In Visual Studio 2015, I want to use SignTool to sign the dll, exe, and msi files of the solution on a successful build. That is, using a post-build event.
I have looked at this post:
Disable signing ...
3
votes
2
answers
1k
views
Signing executables with EV-Certificate with Install4J
our company ordered an EV-Certificate from GlobalSign.
Before we had a normal code signing certificate as a p12 file which we could use in Install4J.
Now, with the new certificate we have no cert-...
11
votes
4
answers
11k
views
How do I use signtool in post build event for Visual Studio 2013 without hard coding path?
I've created a post build event to do code signing of the application after a successful build with the following post build script.
copy $(TargetPath) $(TargetDir)SignedApp.exe
signtool sign /t http:...
0
votes
1
answer
414
views
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 ...
0
votes
1
answer
51
views
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 ...
11
votes
6
answers
20k
views
How to install SignTool.exe for VS 2017?
After upgrade to VS 2017 i got
"Error An error occurred while signing: SignTool.exe not found."
But only using MSbuild on the Visual Studio publish there's no problem.
I already checked folder
"C:\...
7
votes
4
answers
6k
views
Is http://timestamp.geotrust.com/tsa not longer available for SignTool?
We sign our executables on the build server. Suddenly the build server failed to build giving the error:
SingTool Error: The sepcified timestamp server either could not be reached or returned an ...
1
vote
2
answers
4k
views
How to set signtool.exe location in visual studio 2015 community
I've been stuck in this for a couple of hours.
I want to deploy my C# application using a Visual Studio ("Windows") Installer instead of a Click Once Installer.
For doing that, I had to install an ...
1
vote
1
answer
886
views
signtool fails to sign installer when i am running from atlassian Bamboo
I am trying to automate code signing from Bamboo for an internal security measure.
Signing command:
signtool.exe sign /v /debug /f "\\hostname\Cert$\Cerfile.pfx" /p "password" /d "Company name" /t "...
6
votes
2
answers
4k
views
Signing a ClickOnce application with an AfterCompile target
I've been trying to wrap my mind around Authenticode certificates for a week now. I purchased a CSC from Comodo and I've got a ClickOnce application I'd like to sign so that the SmartScreen Filter ...
8
votes
1
answer
3k
views
Code Signing with a Certum certificate
I want to sign a static .exe build of one of my Open Source programs so that it will be executable in a "normal" manner to a "normal" Windows user.
I bought an Open Source Code Signing Certificate ...
2
votes
1
answer
3k
views
Signtool using output from debug option
I am using SignTool and a digital certificate to sign dll's.
Signing of dll's is one step of my build process. I use msbuild to build my applications, so it is one of the Target and uses Exec Command ...
0
votes
1
answer
153
views
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 ...
3
votes
4
answers
1k
views
How do you specify a complex publisher name in Powershell?
I'm trying to use the Microsoft Desktop App Converter (AKA Desktop Bridge) and our publisher name has a comma, space and period in it.
eg. CN="Acme, Inc."
This does not work:
DesktopAppConverter....
0
votes
1
answer
695
views
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 ...
1
vote
1
answer
880
views
The signed MSI-package isn't liked by Windows
I have prepared my MSI package using the Advanced Installer and then signed it using the SignTool:
signtool sign /debug /f "cert.pfx" /fd SHA256
/p "<pass>" /t http://timestamp.comodoca.com/...
0
votes
1
answer
2k
views
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 ...
20
votes
4
answers
17k
views
UWP appx package Signtool "Error: SignerSign() failed." (-2147024885/0x8007000b)
EDIT
Event log error was this:
error 0x8007000B: The app manifest publisher name (CN=...)
must match the subject name of the signing certificate
(CN={19BE29DF-4812-4F2E-8FC1-A138B146946A}).
...
2
votes
1
answer
2k
views
Using SignTool.exe to sign using SHA256 after Microsoft dropped support for SHA-1
Since MS dropped SHA-1 support we now need to sign with SHA-2.
I sign all dlls, exe and msi. I changed my signtool.exe call to this:
signtool.exe /f "PathToPFX.pfx" /fd SHA256 /p "password" /d "...
6
votes
3
answers
5k
views
"Invalid SHA1 hash format" error calling signtool from msbuild or command line
I am trying to sign my assemblies and setup files during project build using SignTool.exe. Following this answer I wanted to use the /sha1 option so that I don't need to specify the certificate ...
4
votes
2
answers
6k
views
Is there an open source alternative to signtool from Microsoft to sign exes with sha2? [closed]
We need to sign Windows software with sha2 algorithm but installing signtool seems to be a problem, since I am having difficulties to install the software on my machines.
Moreover, I would like to ...
7
votes
2
answers
2k
views
signtool Dual Signing Failure
Question concerning a failure I'm having when attempting to dual sign with SHA1/SHA256.
I've had a SHA256 code signing certificate for a few years now, but before the new year (2016), I started using ...
0
votes
1
answer
57
views
Altenative place/way to download signtool / replacement
For whatever reason, I seem unable to install this SDK
https://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx
But I need a new signtool.exe for signing my downloads with sha256 certificate.
...
4
votes
1
answer
5k
views
Resolve "the signature of foo.exe is corrupt or invalid" in IE
When users try and download my installer, after download is complete, IE11 on Windows 10 presents the error "the signature of foo.exe is corrupt or invalid"
Signtool reports the signature to be valid....
7
votes
1
answer
3k
views
How to list all signatures with signtool.exe while verifying against the kernel signing policy
So I am signing a binary using signtool from the Windows SDK 8.1:
"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe" sign /a /i Symantec /ac C:\utils\MSCV-VSClass3.cer /ph /t "http://...