Skip to content

tylerapplebaum/powershell-codesigning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

powershell-codesigning

New-CodeSigningCert.ps1

Note: This script uses the New-SelfSignedCertificate cmdlet, which is only available in Windows 10 / Server 2016 and newer. The cmdlet itself is present in older versions, but it does not have the same functionality.

2012R2 Docs

2016 Docs

Usage:

New-CodeSigningCert -Subject "Tyler Applebaum Code Signing Cert" -EMail "tylerapplebaum@gmail.com" -PFXPassword "1234" -FriendlyName "PSCodeSigningTest" -CertValidYears 5

Invoke-BinarySignature.psm1

Usage:

Tab complete the -CertFriendlyName parameter to list all code signing certificates in your user store.

Import-Module Invoke-BinarySignature.psm1 New-BinarySignature -CertFriendlyName "PSCodeSigningTest" -BinPath "C:\Temp\Test-Signed.ps1"

About

Create and use code signing certificates with PowerShell

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published