跳转到主内容

PowerShell工具包代码签名证书已过期

Views:
19
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
generalsupport
Last Updated:

适用场景

  • PowerShell工具包(PSTK)<ver>
  • Windows平台

问题描述

  • PSTK  <ver>上的代码签名证书 已过期
  • 如果 将PSTK模块执行策略设置为 AllSigned、则会受到此影响
  • 导入PSTK <ver>模块  时可能会遇到此问题-或者-执行PSTK  <ver> 安装脚本时
  • 示例 1:导入PSTK模块

clipboard_ea30b257afd1e442a2779b3453e8d427a.png

错误: The file was skipped because of the following validation exception: file <file-name> type.ps1xml cannot be loaded. the file <file-name> is not digitally signed. you cannot run this script on the current system.

  • 示例2:执行PSTK安装脚本

clipboard_e9e531894df912ab17158fe42a097e26b.png

错误: A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.