📅  最后修改于: 2022-03-11 14:49:31.608000             🧑  作者: Mango
//go to powershell >> run as admin and paste the following
New-SelfSignedCertificate -Subject "CN=Test Code Signing" -Type CodeSigningCert -KeySpec "Signature" -KeyUsage "DigitalSignature" -FriendlyName "Test Code Signing" -NotAfter (get-date).AddYears(5)