メインコンテンツまでスキップ

PowerShell Toolkitのコード署名証明書の有効期限が切れている

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

環境

  • PowerShell Toolkit(PSTK)
  • 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.