This article will walk you through the process of downloading and installing the Code Signing and EV Code Signing Certificate on Rutoken 3.0.
If this is not the solution you are looking for, please search for your solution in the search bar above.
Once your order has been approved, vetted, and you have your USB token, open the pickup link from your pickup email in Google Chrome. Note: Rutoken does not support IE the installation method.
You can watch the following video for a tutorial. Note: Rutoken default password: 12345678. Admin password: 87654321.
Using Code Signing and EV Code Signing (Rutoken, driver version 4.17.0.0 and above)
Prerequisites
GlobalSign Code Signing Certificate downloaded and installed onto a hardware token.
SHA-256 orders may additionally require GlobalSign Code Signing Root R45 (R3 cross).
The Code Signing Root R45 (R3 cross) will need to be installed on the signing computer but not specified as an additional certificate during the signing procedure.
Important SignTool Options
/ac - Specify an Additional Certificate.
/a - Automatically selects the best certificate to sign the file from your Windows Certificate Store.
/n "Certificate Common Name" Specifies the certificate to sign the file from your Windows Certificate Store using the certificate common name.
/fd SHA256 - Specify the file digest algorithm used in creating file signatures.
/t - Specify a Microsoft Authenticode-compatible time stamp server.
/tr - Specify an RFC 3161 compliant trusted time stamp server. *Recommended*
/td SHA256 - Must be called after "/tr", this command specifies the TimeStamp digest algorithm. *Recommended*
Note: Timestamping your Code is extremely important and is highly recommended for every piece of code that you sign. This timestamp will allow the file that you sign to remain valid long after the certificate itself has expired.
You can either sign files out of a working directory or you can place them in your Windows SDK\bin folder.
Open the Command Prompt: Windows 7: Start > Run > cmd, or for Windows 8 - 10, press the Windows Key, then type cmd and press enter.
Navigate to the directory with signtool.exe.
Use the following command to sign your file: signtool sign /a /tr http://timestamp.globalsign.com/tsa/r6advanced1 /td SHA256 /fd SHA256 c:/path/to/your/file.exe
Enter your Token Password. If the signing is successful, you will see a prompt informing you so.
To verify the successful signature, use the following commands: Authenticode: signtool verify /v /pa
Kernel Driver Signing: signtool verify /v /kp
You may also verify the signature within the properties of the file, under the Digital Signatures tab.
Using Code Signing and EV Code Signing (Rutoken, Driver version below 4.17.0.0)
Install the latest java. (jdk and jre). Note: It’s required for keytool and signing a file.
Search where the file is located: "rtPKCS11ECP.dll", f.i.. C:\Windows\System32\rtPKCS11ECP.dll Note: You can get it from the SDK website: https://www.rutoken.ru/developers/sdk
Create a file called "eToken.cfg". Add the path to the library and the number of the slot into which the token is connected (if there is one on the machine, then most likely on the zero slot), as shown below, and add the file to the library (java jdk bin folder):
name = OpenSC-PKCS11
description = SunPKCS11 via OpenSC
library = C:\Windows\System32\rtPKCS11ECP.dll
slotListIndex = 0
Run CMD (Command Prompt) as Administrator and specify the path to the Java jdk bin folder.
Get a list of Certificates on your token by using this command:
Ordering an EV Code Signing Certificate (HSM-Based)
Mar 2, 2020, 6:51 AM
The following article will walk you through the ordering process of an EV Code Signing Certificate (HSM-Based). If this is not the solution you are looking for...
How to download and install EV & OV Code Signing Certificate (HSM-Based)
Mar 2, 2020, 7:10 AM
The following article will walk you through downloading and installing your EV Code Signing Certificate (HSM-Based). At the completion of this procedure your Certificate...