Sign a file using the configured code signing certificate
The following example signs an.exe file, but you can sign other types of files by using SignTool. Refer to the following URL for details: https://docs.microsoft.com/en-us/windows/win32/seccrypto/cryptography-tools
1
Open the Windows command prompt and run the following command (ReplaceMyCertificate with the Subject Name of your certificate and example.exe with the name of the file that you are signing):
Powershell
If the command succeeds, you see the following message:
None
Verify the file that was signed
1
To verify the file that was signed, run the following command:
Powershell
If the command succeeds, you see the following message:
None

