Skip to main content
NetApp Knowledge Base

PowerShell Toolkit code signing certificate is expired

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

Applies to

  • PowerShell Toolkit (PSTK)
  • Windows platform

Issue

  • Code signing certificate on PSTK <ver> is expired
  • This impacts when PSTK module execution policy is set to AllSigned
  • This can be encountered while importing PSTK <ver> module  -OR-  when executing PSTK <ver> install script
  • Example 1: Importing PSTK module

clipboard_ea30b257afd1e442a2779b3453e8d427a.png

Error: 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.

  • Example 2: Executing PSTK install script

clipboard_e9e531894df912ab17158fe42a097e26b.png

Error: 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.