How can i create digital signature using P开发者_如何学运维owerShell, is there any build-in commands for that? It should be same to the open SSL command:
openssl dgst -sha256 -sign
TIA
Not that I know of, but check out Code Signing with OpenSSL and PowerShell for their New-CodeSigningCert script.
This kind of depends on what you want to sign.
If you want to sign a PowerShell Script then you can use Set-AuthenticodeSignature cmdlets to sign the script. You DO need a code signing certificate to use this cmdlets.
精彩评论