Advertisement
fedprod

Own Driver Certificates

Feb 4th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. As Admin in cmd:
  2.  
  3. bcdedit /set testsigning ON
  4.  
  5. Restart the PC. After login again on the bottom right it should read somthing along "Windows VERSIONNR SUBVERSIONR, TEST MODE"
  6.  
  7. Open a cmd again as Admin
  8.  
  9. The next Command creates a new Certificate:
  10. makecert.exe -$ individual -r -pe -ss "my Certificates" -n CN="certmaker" "test.cer" [Enter]
  11.  
  12. This Command adds the certificate to the local trusted Certificates:
  13. certmgr.exe /add "test.cer" /s /r localMachine root [Enter]
  14.  
  15. Now on to signate the Drivers
  16. signtool.exe sign /v /s "my Certificates" /n "certmaker" \*.*a [Enter]
  17.  
  18. Finally the signated Driver can be installed in Testmode.
  19.  
  20. After that it's time to leave the Testmode again:
  21. bcdedit /deletevalue testsigning [Enter]
  22.  
  23. Restart your PC again, and the previous unsignated Driver should be correctly installed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement