How to Sign Your Code Using EV Code Signing Certificate
Signing Your Code With a Comodo EV Code Signing Certificate
After you’ve collected your certificate and successfully set up the SafeNet Authentication Client, you can now start signing your code or apps. The following are the steps you have to follow to successfully sign your code.
Before You Start Signing Code
There are a few requirements you need to meet in order to sign your code. So check the following before you begin the code signing process:
- The first step is to complete the SafeNet setup process.
- Make sure you are using a computer that runs on Windows.
- Finally, make sure the Windows Development Kit is installed.
How To Sign Code With Your EV Code Signing Certificate
Now you are all set to move to the code signing process. Here are the steps involved:
- Start with plugging in the USB token you received in the package from Comodo in your system.
- You’ll then need to open the SafeNet Client.
- The next step is to open the Command Prompt.
- The following is the command you will need to copy and paste: signtool sign
/tr http://timestamp.comodoca.com /td sha256 /fd sha256 /a "Insert_path_to_the_file_you_wish_to_sign "
- You will be prompted to enter the password after you enter the command and you have to enter it there.
- Your application will be signed after the password is entered.
Verifying Your Signed Application
You can now check if the code has been signed. It’s always a good idea to verify the signature before making your software available for download for your end-users.
- To verify, open the folder in which the application is saved.
- Locate the application, right-click on it, and click on properties.
- You should see your EV Code Signing certificate details when you click on the Digital Signatures menu. This shows that your code is signed.
Now, you are all set to distribute your application with your name on it for people to download and use.