enterprise

The signer has the fully qualified class name: org.signserver.module.msauthcode.signer.AppxSigner.

Overview

The Appx signer signs Microsoft APPX packages and bundles.

The signature can optionally include a timestamp response from a TSA using the RFC#3161, or legacy Authenticode format.

The Publisher DN set in AppxManifest.xml (or AppxBundleManifest.xml) must match the Subject DN of the signing certificate. The Publisher DN order should also match the order set in the certificate (LDAP DN Order or X509 DN Order).

Available Properties

Property

Description

ALLOW_PROGRAM_NAME_OVERRIDE 

(Optional) Specifies if the requestor can override the program name by supplying it as a request metadata property. Default: false.

ALLOW_PROGRAM_URL_OVERRIDE

(Optional) Specifies if the requestor can override the program URL by supplying it as a request metadata property. Default: false.

DIGESTALGORITHM 

(Optional) Algorithm for the digest of the binary. Default: SHA256.

DO_LOGRESPONSE_DIGEST 

(Optional) Specifies if a digest of the response should be computed and logged. Default: true.

DO_LOGREQUEST_DIGEST 

(Optional) Specifies if a digest of the request should be computed and logged. Default: true.

LOGRESPONSE_DIGESTALGORITHM 

Specifies the algorithm used to create the message digest (hash) of the response document to put in the log. Default: SHA256.

LOGREQUEST_DIGESTALGORITHM 

Specifies the algorithm used to create the message digest (hash) of the request document to put in the log. Default: SHA256.

PROGRAM_NAME

(Optional) Program name to embed in the signature. Default: none.

PROGRAM_URL 

(Optional) Program URL to embed in the signature. Default: none.

SIGNATUREALGORITHM 

(Optional) Signature algorithm. The default depends on the signing key:

  • SHA256withRSA

  • SHA256withDSA

  • SHA256withECDSA

TIMESTAMP_FORMAT 

Specifies the timestamp format to use. Allowed values:

  • RFC3161 (Default)

  • AUTHENTICODE

If the value AUTHENTICODE is set, a legacy Authenticode timestamp signer is assumed, rather than a standard RFC3161-compliant one.

TSA_PASSWORD 

Login password used if the TSA uses HTTP Basic Auth. Required if TSA_USERNAME is specified. Default: none.

TSA_URL 

(Optional) URL of external (Authenticode or RFC#3161) timestamp authority. Default: none.

This property cannot be combined with TSA_WORKER.

TSA_USERNAME 

(Optional) Login username used if the TSA uses HTTP Basic Auth. Default: none.

TSA_WORKER 

(Optional) Worker ID or name of internal (Authenticode or RFC#3161) timestamp signer in the same SignServer. Default: none.

This property cannot be combined with TSA_URL.

Request Properties

This worker can accept the following request metadata properties, given that they are configured to be allowed:

Property

Description

PROGRAM_NAME 

Program name text to use instead of the configured one (if any). Specifying an empty value removes the configured program name. Without ALLOW_PROGRAM_NAME_OVERRIDE configured in the worker request, including this request property will not be allowed.

PROGRAM_URL 

Program URL to use instead of the configured one (if any). Specifying an empty value removes the configured program URL. Without ALLOW_PROGRAM_URL_OVERRIDE configured in the worker request, including this request property will not be allowed.

Worker Log Fields

Field

Description

REQUEST_DIGEST 

A message digest (hash) for the request document in hex encoding.

REQUEST_DIGEST_ALGORITHM

The name of the message digest (hash) algorithm used for the request digest in the log.

RESPONSE_DIGEST

A message digest (hash) for the response document in hex encoding.

RESPONSE_DIGEST_ALGORITHM

The name of the message digest (hash) algorithm used for the response digest in the log.