34,333
edits
Changes
→Signing Windows PowerShell Scripts
== Signing Windows PowerShell Scripts ==
Windows PowerShell scripts are signed using a signing certificate. Certificates are generally obtained from a ''certificate authority'' (CA), or ''self-signed certificate'' may be generated by creating a local certificate authority. The certificate may be further protected by using private key encryption. More details on certificates and Public Key Infrastructure'' may be found in the Techotopia [[Security+ Essentials]] online book in the chapter entitled [[An Overview of Public Key Infrastructures (PKI)]].
In the remainder of this chapter, we will create a local certificate authority, generate a signing certificate and apply that certificate to a script. Having done that, we will then enable private key encryption on that certificate to prevent it from falling into the wrong hands.
== Setting up a Local Certificate Authority ==