windows创建签名文件pfx

 https://*.com/questions/84847/how-do-i-create-a-self-signed-certificate-for-code-signing-on-windows

 

It‘s fairly easy using the New-SelfSignedCertificate command in Powershell. Open powershell and run these 3 commands.

1) Create certificate:
$cert = New-SelfSignedCertificate -DnsName www.test.com -Type CodeSigning -CertStoreLocation Cert:\CurrentUser\My

2) set the password for it:
$CertPassword = ConvertTo-SecureString -String "you_password" -Force -AsPlainText

3) Export it:
Export-PfxCertificate -Cert "cert:\CurrentUser\My\$($cert.Thumbprint)" -FilePath "d:\selfsigncert.pfx" -Password $CertPassword

Your certificate selfsigncert.pfx will be located @ D:/

 

签名工具可搜索:kSign

 

 

windows创建签名文件pfx

上一篇:jackson学习之三:常用API操作


下一篇:.NET Core下使用System.Drawing?