Skip to main content

Certificate Services Support

Entrust Logo
 

Signing Microsoft Authenticodes

This is the procedure you use to sign files using Microsoft Authenticode (.exe or .msi files, for example) with an Entrust EV Code-signing certificate.
Before you begin this procedure you must have:
  • an Entrust EV Code Signing certificate (installed on a token)
  • correctly installed and configured the SafeNet Authentication Client version 10.7, to manage the token


Note: See the Entrust Code Signing and EV Code Signing Certificate Download and Installation Guide for specific information about configuring the SafeNet client. Code Signing Certificate Installation Guide
To sign a file with an EV Code Signing certificate:


Note: The following procedure uses SignTool to sign the file.

  1. Connect the token with your EV Code signing certificate to the USB port of your computer.
  2. Open a command line window and change directory to the location of SignTool on your machine. By default this is: <drive>:\Program Files (x86)\Windows Kits\<version>\bin\x86
  3. Run the following command to sign your file:

signtool sign /fd SHA256 /td SHA256 /a /tr "<timestamp address>" "<drive:\yourfilename.<extension>"

Example:

signtool sign /fd SHA256 /td SHA256 /a /tr "http://timestamp.entrust.net/rfc3161ts2" "C:\test.msi"
  1. Enter the password for the keystore when prompted, and click OK. Use the password that you created for the token.
SignTool returns a message similar to the following:

Done adding additional store Successfully signed: C:\test.msi
  1. You can verify that the file has been signed correctly by running the command below:

    SignTool verify /pa /v <filename>

The output should contain specific information about the certificate chain and the timestamp, as well as a success message for verifying the certificate.


If you have any questions or concerns please contact the Entrust Certificate Services Support department for further assistance: 

Hours of Operation: 
Sunday 8:00 PM ET to Friday 8:00 PM ET 
North America (toll-free): 1-866-267-9297 
Outside North America: 1-613-270-2680 (or see the list below) 
NOTE: Smart Phone users may use the 1-800 numbers shown in the table below.
Otherwise, it is very important that international callers dial the UITF format exactly as indicated. Do not dial an extra "1" before the "800" or your call will not be accepted as a UITF toll-free call. 

 
CountryNumber
Australia0011 - 800-3687-7863
1-800-767-513
Austria00 - 800-3687-7863
Belgium00 - 800-3687-7863
Denmark00 - 800-3687-7863
Finland990 - 800-3687-7863 (Telecom Finland)
00 - 800-3687-7863 (Finnet)
France00 - 800-3687-7863
Germany00 - 800-3687-7863
Hong Kong001 - 800-3687-7863 (Voice)
002 - 800-3687-7863 (Fax)
Ireland00 - 800-3687-7863
Israel014 - 800-3687-7863
Italy00 - 800-3687-7863
Japan001 - 800-3687-7863 (KDD)
004 - 800-3687-7863 (ITJ)
0061 - 800-3687-7863 (IDC)
Korea001 - 800-3687-7863 (Korea Telecom)
002 - 800-3687-7863 (Dacom)
Malaysia00 - 800-3687-7863
Netherlands00 - 800-3687-7863
New Zealand00 - 800-3687-7863
0800-4413101
Norway00 - 800-3687-7863
Singapore001 - 800-3687-7863
Spain00 - 800-3687-7863
Sweden00 - 800-3687-7863 (Telia)
00 - 800-3687-7863 (Tele2)
Switzerland00 - 800-3687-7863
Taiwan00 - 800-3687-7863
United Kingdom00 - 800-3687-7863
0800 121 6078
+44 (0) 118 953 3088