From 616f403af1f65ae544084cb5236e64b43d12141d Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Fri, 12 Aug 2022 22:38:49 +0300 Subject: [PATCH] Update Sign.ps1 --- Scripts/Sign.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scripts/Sign.ps1 b/Scripts/Sign.ps1 index 45a7970d..7e52bcf5 100644 --- a/Scripts/Sign.ps1 +++ b/Scripts/Sign.ps1 @@ -13,6 +13,8 @@ $Parameters = @{ } $authenticode = New-SelfSignedCertificate @Parameters +Get-ChildItem -Path Cert:\LocalMachine\My + # Add the self-signed Authenticode certificate to the computer's root certificate store # Create an object to represent the LocalMachine\Root certificate store $rootStore = [System.Security.Cryptography.X509Certificates.X509Store]::new("Root","LocalMachine")