以编程方式从安装程序中提取证书 (.cer)
Extract certificate (.cer) from installer programmatically
我正在构建一个安装程序,需要提取 .cer 以便可以将其添加到受信任的发布者,类似于此 question/answer。
https://superuser.com/a/464233
我已经做到了,一切正常。数字签名选项卡中的 "Copy to file" 可以使用 PowerShell 或类似工具自动执行吗?
您可以 运行 Get-AuthenticodeSignature
cmdlet 从 MSI 检索验证码签名证书。
我正在构建一个安装程序,需要提取 .cer 以便可以将其添加到受信任的发布者,类似于此 question/answer。
https://superuser.com/a/464233
我已经做到了,一切正常。数字签名选项卡中的 "Copy to file" 可以使用 PowerShell 或类似工具自动执行吗?
您可以 运行 Get-AuthenticodeSignature
cmdlet 从 MSI 检索验证码签名证书。