windows,driver,x509,signtool,authenticode
It turns out that Microsoft does not support SHA-2 for driver signing on Windows 7. In some cases, you might want to sign a driver package with two different signatures. For example, suppose you want your driver to run on Windows 7 and Windows 8. Windows 8 supports signatures created...
Thanks to Mate Finally I did that! I added target to *.cproj file as mentioned in article here It looks like: <Target Name="AfterCompile"> <Exec Command=""C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\SignTool.exe" sign /f cert.pfx /p your_password /v "$(ProjectDir)obj/$(ConfigurationName)/$(TargetFileName)"" /> </Target> There is signed *.exe file in the obj directory. Also I use AfterCompile...
windows,certificate,code-signing,privatekey,signtool
In order to sign a file you need to have the certificate's private key, which is not included in the *.cer file you copied from the Windows 7 machine. To export the certificate with its private key you can follow the instructions supplied here. Do note that you'll only be...