signtool

How to sign manually an exe file with developer licence for Windows 8 RT

风格不统一 提交于 2019-12-21 12:15:28
问题 I make an exe file for Windows 8 RT. But when I want to run, show an error message: "Windows cannot verify the digital signature for this file. ..." I get a developer licence for windows 8 RT . With this license visual studio 2012 can remotely deploy and run metro application in my surface. But I want to sign manually my exe file with this certificate using signtool.exe : signtool.exe sign -s CertStoreName -n "subject name" C:\mytest.exe My problem is that I don't know the "CertStoreName" and

SignTool internal error when trying to repackage an APPX package?

筅森魡賤 提交于 2019-12-21 03:58:28
问题 I'm analyzing existing Windows Store applications and modifying them to make sure my company's obfuscator works with them. I've ran into a bit of a problem doing that though. I can grab an APPX package from the store easily enough(requires Fiddler to get the URL). I can then just use any unzip program to extract the appx to a folder. I can then take the assemblies in the APPX and modify the IL a bit. I then remake and sign the package: makeappx pack /d "mypackage" /p "mypackage.appx" signtool

Is it possible to dual-sign installer and uninstaller with sha1 and sha256 certificates?

允我心安 提交于 2019-12-21 03:48:24
问题 Is it possible in Inno Setup to sign the Uninstaller and Installer with sha1 and sha256 at the same time? I know that it is possible to sign the Executable with both certs via command tool, but want to know if this is possible to achieve with SignTool in Inno. 回答1: Autoanswer... Yes, this is possible. As @Wosi suggested you can write a batch and then call it with $f parameter added. Sample batch (signtool.bat): @echo off "PATH_TO_SIGNTOOL\signtool.exe" sign /v /du "COMPANY_NAME" /fd sha1 /t

creating a key and signing executable with signtool

懵懂的女人 提交于 2019-12-18 05:11:06
问题 How would I sign a Visual C# executable? SignTool.exe can't find a certificate. How would I create a self signed key and certificate, and have signtool be able to see the certificate and use it? OpenSSL and Visual Studio 2010 Express are installed. Running Windows 7 Ultimate x64. Using SignTool.exe from Windows Driver Kit. 回答1: Using self-signed certificates for digitally signing your binaries pretty much goes against the concept of using digital certificates with programs. The basic idea is

creating a key and signing executable with signtool

我的未来我决定 提交于 2019-12-18 05:11:02
问题 How would I sign a Visual C# executable? SignTool.exe can't find a certificate. How would I create a self signed key and certificate, and have signtool be able to see the certificate and use it? OpenSSL and Visual Studio 2010 Express are installed. Running Windows 7 Ultimate x64. Using SignTool.exe from Windows Driver Kit. 回答1: Using self-signed certificates for digitally signing your binaries pretty much goes against the concept of using digital certificates with programs. The basic idea is

Why does signtool.exe only find certificate when run as admin?

社会主义新天地 提交于 2019-12-13 14:30:57
问题 I'm setting up a new development laptop, and have installed a self-issued code signing certificate. I can see it in certmgr under my Current Users's Personal Certificates. When I try to build from the Developer Command Prompt For Visual Studio 2017 I get: error : SignTool Error: No certificates were found that met all the given criteria. This always worked fine on my old laptop. I have found if I run the same build from the command prompt after starting it as admin that signtool succeeds and

UWP - SignTool Error: No certificates were found that met all the given criteria

落花浮王杯 提交于 2019-12-11 18:25:11
问题 I'm getting this error after our company changed its AD domain. UWP app development with VS 2019 and Windows 10 (1903) C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(4469,5): error APPX1204: Failed to sign 'D:\AzureDevOps-Workspace\UWP\Main\BoardPACWinApp\bin\x64\Release\BoardPACWinApp_3.51.11.0_x64.appx'. SignTool Error: No certificates were found that met all the given criteria. 5>C:\Program Files

Change the program name of exe on UAC

寵の児 提交于 2019-12-11 13:49:48
问题 I have an exe which when tried to run as administrator shows the program name as TestSampleConsoleSign.exe. Its a simple console application with hello world in it. namespace TestSampleConsoleSign { class Program { static void Main(string[] args) { Console.WriteLine("Hello World"); Console.ReadLine(); } } } I have also changed the AssemblyTitle field in AssemblyInfo.cs to HelloWorld. But when UAC is enabled the program name still shows as TestSampleConsoleSign.exe instead of HelloWorld. I

Installing Windows SDK / Kits 8.1 / 10

随声附和 提交于 2019-12-11 12:20:08
问题 Since Microsoft now requires sha256 for signed downloads, I need to update signtool.exe which is part of the Windows SDK / kit. The Windows Kis SDKs should be good (I am using Windows 10) but I am getting an error when trying to install (both online with the setup and the redistributable download) Here's the log: === Verbose logging started: 26-01-2016 01:36:42 Build type: SHIP UNICODE 5.00.10011.00 Calling process: X:\AppData\Local\Temp\{ed3a6e6d-9661-4357-abe4-fcc03dc57a07}\.be\sdksetup.exe

Error 0x80080209 when signing appx file for Windows UWP

混江龙づ霸主 提交于 2019-12-11 08:45:40
问题 I have build a Windows 10 UWP cordova application, and are now trying to sign it. I already have a certificate that is used elsewhere (to sign .net assemblies) so I thought I would use the same one for this application signing. When I use the signtool.exe, I get the following error.. SignTool Error: An unexpected internal error has occurred. Error information: "Error: SignerSign() failed." (-2146958839/0x80080209) Looking in the event log as suggested here, I see no errors just 2 information