Changes

Jump to: navigation, search

Windows PowerShell 1.0 Security

362 bytes removed, 18:27, 30 December 2008
Protecting Certificates with Private Key Encryption
Right click on the selected certificate and select "All Tasks -> Export..." from the context menu to invoke the Certificate Export Wizard. Click ''Next'' on the Welcome screen to proceed to the ''Export Private Key'' page and select the ''Yes, export private key'' option. Click ''Next'' to proceed to the Export File Format screen and select the ''Personal Exchange Format'' option. Since the objective of this exercise is to prevent the use of the certificate by unauthorized users, it is important that the unprotected certificate be removed from the certificate store once the export is successfully completed so that it can no longer be used. This can be achieved by selecting the option to delete the certificate after a successful export.
On the next screen, enter the password to be used to protect the key and click ''Next''. Finally, specify a filename and location for the .pfx file (for the purposes of this example we will use the name ''cert.pfx''. Click ''Next'' to display the summary screen. Review the summary information and click ''Finish'' to export the key.

Navigation menu