John_Klassek
03-03-2010, 03:18 AM
When trying to digitally sign an executable, an error occurs in the digital signature when using Windows SDK 7 for Windows 7.
The signtool.exe under Windows SDK 7 is a larger executable, but I have assumed that it should work okay.
I choose to digitally sign using a batch file that works well under Windows SDK for Xp. The batch file method works better because the APMS executable is only an interface to an 8Gb software repository -- it's too hard to compile an output using the APMS build method.
signtool.exe sign /f f:\Docs\Backup\Code_DigitalCert_key\original\class icit.pfx /p mypassword /t http://timestamp.verisign.com/scripts/timstamp.dll f:\classic\cd_root\autorun.exe
The batch file under Windows 7 reads like this:
signtool.exe sign /f X:\Docs\Backup\Code_DigitalCert_key\original\class icit.pfx /p mypassword /t http://timestamp.verisign.com/scripts/timstamp.dll x:\classic\cd_root\autorun.exe
Now even though, under the Windows 7, this actually signs the exe file, when checking the digital signature, it appears to be unable to validate the digital signature.
I'd be very interested if anyone else has experienced anything like this.
Thanks in advance.
John
The signtool.exe under Windows SDK 7 is a larger executable, but I have assumed that it should work okay.
I choose to digitally sign using a batch file that works well under Windows SDK for Xp. The batch file method works better because the APMS executable is only an interface to an 8Gb software repository -- it's too hard to compile an output using the APMS build method.
signtool.exe sign /f f:\Docs\Backup\Code_DigitalCert_key\original\class icit.pfx /p mypassword /t http://timestamp.verisign.com/scripts/timstamp.dll f:\classic\cd_root\autorun.exe
The batch file under Windows 7 reads like this:
signtool.exe sign /f X:\Docs\Backup\Code_DigitalCert_key\original\class icit.pfx /p mypassword /t http://timestamp.verisign.com/scripts/timstamp.dll x:\classic\cd_root\autorun.exe
Now even though, under the Windows 7, this actually signs the exe file, when checking the digital signature, it appears to be unable to validate the digital signature.
I'd be very interested if anyone else has experienced anything like this.
Thanks in advance.
John