Differences

This shows you the differences between two versions of the page.

Link to this comparison view

qnd:sign_powershell_script [2021/03/10 20:08] – created mguptonqnd:sign_powershell_script [2021/03/10 20:08] (current) mgupton
Line 1: Line 1:
 ====== Sign Powershell Script ====== ====== Sign Powershell Script ======
 +
 +  * [[https://community.spiceworks.com/how_to/153255-windows-10-signing-a-powershell-script-with-a-self-signed-certificate
 +]]
 +
 <code> <code>
  
 New-Self​Signed​Certificate New-Self​Signed​Certificate
- 
-https://community.spiceworks.com/how_to/153255-windows-10-signing-a-powershell-script-with-a-self-signed-certificate 
  
 PS C:\tmp\Azure> New-SelfSignedCertificate -CertStoreLocation cert:\currentuser\my -Subject "CN=Local Code Signing" -KeyAlgorithm RSA -KeyLength 2048 -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -KeyExportPolicy Exportable -KeyUsage DigitalSignature ` -Type CodeSigningCert PS C:\tmp\Azure> New-SelfSignedCertificate -CertStoreLocation cert:\currentuser\my -Subject "CN=Local Code Signing" -KeyAlgorithm RSA -KeyLength 2048 -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -KeyExportPolicy Exportable -KeyUsage DigitalSignature ` -Type CodeSigningCert
  • qnd/sign_powershell_script.1615406910.txt.gz
  • Last modified: 2021/03/10 20:08
  • by mgupton