mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:57:57 +00:00
Driver: Improve signing scripts.
This commit is contained in:
parent
a516c354c3
commit
6e23258f11
@ -1,8 +0,0 @@
|
||||
Work as Administrator!
|
||||
|
||||
1. Turn on the test signing mode: "bcdedit.exe /set TESTSIGNING ON"
|
||||
2. Create test certificate: "Makecert -r -n "CN=FortFirewallTestCert" -ss "FortFirewall" -sr LocalMachine"
|
||||
3. Run -> mmc -> File -> Add or remove...
|
||||
- Select "Certificates" -> Add -> Computer -> Local machine -> OK;
|
||||
- Certificates (Local machine) -> Copy certificate from "FortFirewall" into "Trusted root certification centers".
|
||||
4. Sign the driver: "signtool sign /a /v /s FortFirewall /n "FortFirewallTestCert" fortfw64.sys"
|
@ -1 +1,3 @@
|
||||
Makecert -r -n "CN=FortFirewallTestCert" -ss "FortFirewall" -sr LocalMachine
|
||||
MakeCert -r -pe -ss "Fort Firewall" -n "CN=FortFirewallTestCert" FortFirewallTest.cer
|
||||
CertMgr /add FortFirewallTest.cer /s /r localMachine root
|
||||
Del FortFirewallTest.cer
|
||||
|
@ -1 +1 @@
|
||||
signtool sign /a /v /s FortFirewall /n "FortFirewallTestCert" ../fortfw64.sys
|
||||
SignTool sign /a /v /s "Fort Firewall" /n FortFirewallTestCert ../fortfw64.sys
|
||||
|
Loading…
Reference in New Issue
Block a user