Difference between revisions of "SDM850 windows driver signing tutorial"
Jerry.liao (talk | contribs) |
Jerry.liao (talk | contribs) |
||
Line 14: | Line 14: | ||
[[File:SDM850 Windows Driver 02.png|RTENOTITLE]] | [[File:SDM850 Windows Driver 02.png|RTENOTITLE]] | ||
+ | |||
+ | == driver signing == | ||
+ | |||
+ | (1) create certification | ||
+ | Makecert -r -pe -ss TestDriver TestDriver.cer | ||
+ | |||
+ | (2) add certification into system | ||
+ | certmgr.exe -add TestDriver.cer -s -r localMachine root | ||
+ | |||
+ | (3) sign driver | ||
+ | signtool sign /s TestDriver YourDriverNAme.sys | ||
+ | signtool sign /s TestDriver YourDriverNAme.cat | ||
== reference == | == reference == |
Latest revision as of 09:13, 21 October 2019
description
When we modify the and recompile a windows driver, the previous signature would be invalid.
Driver is unavailable and the yellow exclamation mark is displayed on windows device manager.
Device staus would show that the windows cannot verify the digital signature.
create catalog file
BSP use inf2cat to check .inf content structure and create YourDriverNAme.cat.
driver signing
(1) create certification Makecert -r -pe -ss TestDriver TestDriver.cer
(2) add certification into system certmgr.exe -add TestDriver.cer -s -r localMachine root
(3) sign driver signtool sign /s TestDriver YourDriverNAme.sys signtool sign /s TestDriver YourDriverNAme.cat
reference
File:SDM850 Win10 Setup and Building.pdf
https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/makecert
https://steward-fu.github.io/website/driver/wdm/self_sign.htm