[英]How does signed script works even there is no network connection?
I have signed the powershell script with the key purchased from Verisign (symantec). 我已经使用从Verisign(symantec)购买的密钥对Powershell脚本进行了签名。
I am executing the script inside a VM where no internet connection available. 我正在无法连接互联网的VM内执行脚本。
How it executes without any problem? 它如何执行而没有任何问题? How it will get public key if it is not connected to internet?
如果未连接到互联网,它将如何获得公钥?
I am using executionpolicy as "AllSigned" 我将executionpolicy用作“ AllSigned”
The signing certificate you got from Symantec is signed with a trusted key, which is likely already stored on your computer. 您从Symantec获得的签名证书已使用受信任的密钥签名,该密钥可能已经存储在您的计算机上。 Use
mmc.exe
and add the certificates module to the console. 使用
mmc.exe
并将证书模块添加到控制台。 Browse the trusted root CA container, and you are likely to find several certificates from Symantec / Verisign or whatever. 浏览受信任的根CA容器,您很可能会找到来自Symantec / Verisign或其他任何证书。 One of those is used to certify that the signing certificate you purchased is really from the issuer.
其中之一用于证明您购买的签名证书确实来自发行人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.