10.3. Creating a Self-Signed Certificate

Getting a code-signing certificate provides us the best level of security, but that is not always the most practical thing to do. Requesting a certificate from a certification authority takes some time, as the CA has to run background checks and verify your identity before issuing a certificate—not to mention that a certificate is not cheap. Using the code signing tools and the infrastructure provided by PowerShell, we can achieve a good balance of security and practicality by issuing our own self-signed certificate. We can create a self-signed certificate and use it to sign scripts much in the same way as we would use a certificate issued by a third-party certification authority. Self-signed certificates ...

Get Pro Windows PowerShell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.