Window 10 调试服务进程(本地签名)

(vs2008 以上,自带以下所需工具)

  1. 制作证书:(使用以下 MakeCert 命令创建 Contoso.com (测试) 证书)
    makecert -r -pe -ss PrivateCertStore -n CN=Contoso.com(Test) ContosoTest.cer

  2. 打开测试:(管理员权限,需要重启)
    bcdedit /set testsigning on

  3. 信任:(管理员权限)
    CertMgr.exe /add ContosoTest.cer /s /r localMachine root

  4. 签名:
    Signtool sign /v /s PrivateCertStore /n Contoso.com(Test) /t http://timestamp.digicert.com tstamd64.cat

  5. 验证:
    signtool verify /v /kp ascore-new.exe

说明:
服务 和 驱动,需要有 Cross Certificate Chain

  • reference:
    • https://docs.microsoft.com/zh-cn/windows-hardware/drivers/install/test-signing

你可能感兴趣的:(Window 10 调试服务进程(本地签名))