Windows

You can sign PowerShell certificates with New-SelfSignedCertificate and without MakeCert

  For those who can’t wait, here is the solution right away. Next two lines actually work – without using MakeCert.exe: New-SelfSignedCertificate -DnsName STA07 -Type CodeSigning Set-AuthenticodeSignature C:\T\add-signature.ps1 @(gci Cert:\LocalMachine\My -DnsName STA07 -codesigning)[0] First command creates a certificate in both Current User and Local Computer  Intermediate Certification Authorities.  Second command […]