简体   繁体   English

即使没有网络连接,签名脚本如何工作?

[英]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.

相关问题 如何创建“重试”连接以连接共享网络? - How to create “retry” connection to connect to share network? Powershell如何在网络连接丢失时注册事件? - Powershell How to register an event on network connection lost? 如何在PowerShell中获取网络连接类型 - How to get network connection type in PowerShell 如何测试Powershell中是否存在活动的网络连接? - How to test if there is an active network connection in powershell? 有人可以分解这个 Powershell 脚本的一部分并解释它的作用和工作原理吗? - Can someone break down part of this Powershell script and explain what it does and how it works? Firebase 脚本未签名 - Powershell - Firebase script not signed - Powershell 如何检查PowerShell脚本是否从托管API签名? - How can I check if a powershell script is signed from the managed API? 尝试使用Exchange Online运行脚本时,连接有效,Get-UnifiedGroup有效,但是Set不存在吗? - Trying to run a script, using Exchange Online, connection works, Get-UnifiedGroup works, but Set doesn't exist? 如何制作添加网络路由的脚本? - How to make a script that adds a network route? Powershell 网络驱动器上的脚本即使在运行 Unblock-File 后仍然给出安全提示 - Powershell script on network drive still giving security prompt even after running Unblock-File
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM