The MS Authenticode Timestamp Signer is compatible with the Microsoft Authenticode Time Stamping code signing.
Fully qualified class name: org.signserver.server.signers.tsa.MSAuthCodeTimeStampSigner.
Overview
By default, the MS SignTool expects a MS Authenticode Timestamp Signer. Though you can set the TSA as Authenticode, this is the legacy format and not preferable. Instead, set the TSA to use RFC#3161. See Timestamp Signer for more information.
In the Microsoft SignTool, use the /t flag to specify the URL of the MS Authenticode Timestamp server.
To download a sample configuration file for this Worker, see Sample Worker Configurations.
For information on the interfaces this Worker can be called through, see Supported Interfaces by Worker.
Available Properties
|
Property |
Default |
Description |
|---|---|---|
|
|
|
(Optional) Specifies if the signing certificate attribute (id-aa-signingCertificate) [RFC2634] should be included in the response. |
|
|
|
Property specifying the algorithm used to sign the timestamp. |
|
|
None |
(Optional) Property containing the fully qualified name of the class implementing the ITimeSource that should be used. This property has the same values as for the Timestamp Signer. |
Certificate Requirements
-
A timestamp signer certificate must have the extended key usage extension present and marked as critical.
-
The extended key usage extension must contain the timeStamping key purpose ID and only that one.
Example Use Case
The following example shows how to use the Signer to sign an .exe file and verify the signature:
Prerequisites
-
SignTool installed
-
.NET runtime installed
Sign & Verify
-
Set up your MS Authenticode Timestamp Signer.
-
Open a command prompt and go to the Bin directory within the SDK:
cd C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin -
Use SignTool to sign the example .exe file:
signtool.exe timestamp /t http://10.0.2.2:8080/signserver/tsa?workerName=MSAuthCodeTimeStampSigner example.exe
-
After this you can manually inspect the certificate stored in the .exe file by navigating to the folder in the file explorer.
-
Right-click on the file, and select Properties.
-
Select the Digital Signatures tab.
-
Select the certificate and click on Details.
-
Select the Timestamp signature under Countersignatures, and click Details to view the signature.