To generate a self-signed code signing certificate, follow the below steps:
1. Create a PowerShell script file with name Generate_Authenticode_SelfCert.ps1 at appropriate location and add the following content into the script file.
|
|
|---|
|
|
-
Launch PowerShell as Administrator, and run
Generate_Authenticode_SelfCert.ps1.
|
|
|---|
|
|
If you are using Smartcard Authentication, the prompt will go on the PIN Pad device to insert Smartcard and enter the pin. Then press OK button on the PIN Pad.
-
The self-signed certificate can be viewed in a PowerShell window, as seen below.
|
|
|---|
|
|