Dmitry Nefedov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
Scripts/Sign.ps1
|
@ -13,6 +13,8 @@ $Parameters = @{ |
|
|
} |
|
|
} |
|
|
$authenticode = New-SelfSignedCertificate @Parameters |
|
|
$authenticode = New-SelfSignedCertificate @Parameters |
|
|
|
|
|
|
|
|
|
|
|
Get-ChildItem -Path Cert:\LocalMachine\My |
|
|
|
|
|
|
|
|
# Add the self-signed Authenticode certificate to the computer's root certificate store |
|
|
# Add the self-signed Authenticode certificate to the computer's root certificate store |
|
|
# Create an object to represent the LocalMachine\Root certificate store |
|
|
# Create an object to represent the LocalMachine\Root certificate store |
|
|
$rootStore = [System.Security.Cryptography.X509Certificates.X509Store]::new("Root","LocalMachine") |
|
|
$rootStore = [System.Security.Cryptography.X509Certificates.X509Store]::new("Root","LocalMachine") |
|
|