How Can I Prevent Needing to Re-sign My Code Every 1 or 2 Years?

后端 未结 3 2010
北荒
北荒 2020-12-28 08:32

I was reading What happens when a code signing certificate expires - Stack Overflow and wondering about a more solid answer. The answer provided was more about setting up y

相关标签:
3条回答
  • 2020-12-28 09:10

    You can't really escape having to resign code eventually. The advantage to running your own CA is that you could choose to issue your code-signing certs with longer lifetimes than the default, thereby allowing you to wait longer before having to resign anything. The downside is of course having another service or server (your CA) to deal with.

    0 讨论(0)
  • 2020-12-28 09:20

    Time stamping is a free service -- it's really only a trusted provider verifying that you signed the file at a given time. Verisign's timestamp service is the standard one. The final example in the help for Set-AuthenticodeSignature demonstrates how to use it.

    Lee Holmes [MSFT] Windows PowerShell Development Microsoft Corporation

    0 讨论(0)
  • 2020-12-28 09:25

    You're better off selecting one of the trusted certificate providers (Verisign, Thawte, Comodo, etc.). This allows you to sign your software without the user explicitly trusting your private root CA. We've used both Verisign and Thawte, Comodo even GoDaddy with timestamping without any issues with the software becoming invalid even years after the certificate expires.

    0 讨论(0)
提交回复
热议问题