How to create the code signing certificate through the New-SelfSignedCertificate cmdlet
The MakeCert tool has the -eku option for describing the enhanced key usage object identifiers (OIDs) into the certificate. It allows to make the certificates for code signing and for other purposes. But it is not a cmdlet. New PowerShell versions have the New-SelfSignedCertificate cmdlet for local testing of the scripts. But it creates the certificate that can't be used for code signing: New-SelfSignedCertificate -DnsName www.SomeSite.com -CertStoreLocation Cert:\CurrentUser\My I don't see an option which is similar to -eku. How can I set the destination of my new self-signed certificate (cre
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.