User Tools

Site Tools


test_sign

How to Test Sign a driver

update: charliex can codesign 64 bit windows drivers without test mode, contact for details..

  • I'll show you how to test sign a 64 bit windows driver<BR>
 Download and install this
  [[http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx| Windows Platform SDK]]
 Go to the bin folder of the SDK where makecert.exe is. Typically C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\Bin
  MakeCert -r -pe -ss PrivateCertStore -n "CN=032.la(Test)" testcert.cer
 Use the CertMgr, to add the localmachine cert store.
  CertMgr /add testcert.cer /s /r localMachine root
 Now sign the driver
  SignTool sign /v /s PrivateCertStore /n 032.la(test) /t http://timestamp.verisign.com/scripts/timestamp.dll path_and_filename_of_file_to_sign.sys

If you are having trouble getting the drivers you signed to be recognized as valid, try this:

NOTE: THIS WILL PUT YOUR COMPUTER INTO TEST MODE, ALLOWING SELF SIGNED TEST DRIVERS TO RUN. USER DISCRETION IS ADVISED. (only needed for windows vista/7 x64)

 Open a command window in administrator mode:
  bcdedit /set testsigning on
  bcdedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
 In case you want to revert back:
  bcdedit /set testsigning off
  bcdedit /set loadoptions ENABLE_INTEGRITY_CHECKS
test_sign.txt · Last modified: 2013/08/13 12:13 by 127.0.0.1