我找到了此页面:生成一个PFX文件和CRT文件…但是我看不到在多个多个多个多个多个使用的方法计算机不在不安装某些证书存储的情况下。
我希望能够将公共密钥嵌入我的第一个脚本中,该脚本在网络上验证了第二个脚本,然后才将其自动更新为第二个脚本……它对第三个脚本具有自己的验证……等等。
我想要这个有人不会改变我的脚本,我遇到了麻烦……但是我不想弄乱计算机证书的商店……这可能会让我遇到麻烦:)
I found this page: https://blog.davidchristiansen.com/2016/09/howto-create-self-signed-certificates-with-powershell/ that generates a PFX file and CRT file… but I don’t see a way to use this across multiple computers portably without installing them into some cert store.
I want to be able to have a public key embedded in my first script that validates a signed second script on the network before it updates itself to the second script… which has its own validation for the third script… etc.
I want this so that someone doesn’t alter my script and I get in trouble with IT… but I don’t want to mess with computer cert stores… that might get me in trouble with IT :)
发布评论