SignServer supports global properties with hierarchical scoping. Global properties sit outside any individual Worker and affect the entire SignServer instance or a specific node.
Global Properties Functional Categories
|
Category |
Properties |
|---|---|
|
System |
|
|
Access Control |
|
|
Worker Registration |
|
|
Worker Defaults |
|
|
Request Prioritization |
|
|
Peer Systems |
|
|
JWKS Cache Size |
|
Some global properties use the following scope prefixes:
-
GLOB.: Applies across all nodes (SCOPE_GLOBAL). -
NODE.: Applies only to the current node (SCOPE_NODE). The node ID is automatically appended.
System Properties
SignServer imposes a soft limit by refusing to process uploads with a size over 100 MB. This limit can be configured by setting the global configuration properties.
|
Property |
Default |
Description |
|---|---|---|
|
|
104857600 (100 MB) |
Global configuration property that can be set to specify the maximum size (in bytes) that is allowed for an HTTP request. |
|
|
16 |
Global configuration property that is set to a default of 16 which typically would support up to around 10 request metadata properties depending on how many other fields are provided. If more fields are needed, the property can be adjusted. |
|
|
1048576 (1 MB) |
Global configuration property that can be set to specify the size threshold (in bytes) after which the data is written to disk. The directory uploaded files are temporarily stored to is the default temp directory and can be changed by starting the application server with a different value for the Java property java.io.tmpdir. |
For implementation information, see Client HTTP Interface.
Access Control Properties
The access control global properties configure who can use the Admin WS Interface:
|
Property |
Description |
|---|---|
|
|
Set |
|
|
List of administrator certificates (serial + issuer DN) allowed to administrate in WS. |
|
|
List of auditor certificates allowed to query the audit log in WS. |
|
|
List of auditor certificates allowed to query the archive in WS. |
|
|
When true, overrides |
These are typically managed using CLI commands rather than set manually:
bin/signserver wsadmins -add -certserialno 123ABCDEF -issuerdn "CN=AdminCA, C=SE"
bin/signserver wsauditors -add -certserialno 456ABCDEF -issuerdn "CN=AdminCA, C=SE"
In the Admin WS, when wsadmins -allowany is set to true, it overrides the ALLOW_ANY property to allow any administrator with a certificate accepted by the web server. Setting this property to false disables ALLOW_ANY and any associated functionality with its configuration. See Deploy-time Configuration.
Worker Registration Properties
The Worker registration properties tell SignServer which Workers exist and what Java classes implement them.
|
Property |
Description |
|---|---|
|
|
Provide the fully qualified class name of the Worker implementation. Example:
|
|
|
Provide the fully qualified class name of the Crypto Token implementation. Example:
|
Default Global Worker Properties
Certain Worker properties can instead be specified as default values in the global configuration, to avoid having to repeat the properties in every Worker. Individual Workers can override the default global values (if any), by specifying the property as usual.
Global default values are specified as global values in the global configuration with the name prefixed with GLOB.DEFAULT.. The following properties can currently be specified in the global configuration:
|
Property |
Description |
|---|---|
|
|
Specify the name of the pre-defined library. Example:
|
|
|
How to identify the slot ( Example:
|
|
|
Specify which slot to use. Example:
|
|
|
Specify HSM activation PIN. |
Request Prioritization Properties
Enterprise
Request Prioritization is a feature that is enabled using a SignServer global configuration property, allowing you to assign different priority levels to different signing requests based on the Worker the request is targeted to.
To enable Request Prioritization, set the global configuration property GLOB.QOS_FILTER_ENABLED to true. The feature is by default be disabled (false) in a newly installed or upgraded system.
|
Property |
Default |
Description |
|---|---|---|
|
|
false |
Enables or disables request prioritization. When false, the filter acts as a pass-through treating all requests equally. |
|
|
(none) |
Comma-separated list of For example:
For more information on Worker IDs, see Worker Status Properties Page. |
|
|
10 |
Maximum number of requests handled concurrently before queuing begins. |
|
|
5 |
Maximum priority level integer. Workers not assigned a priority default to level 0. |
See Set up Request Prioritization.
Peer Systems Properties
Enterprise
The PEERS_INCOMING_ENABLED property is used for peer systems-related configuration. The property applies to deployments where a SignServer instance is connected with an EJBCA instance.
|
Property |
Description |
|---|---|
|
|
Set to true to allow incoming peer connections. Corresponds to the Admin Web Allow incoming connections option on the Administrator Page. |
See Peer Systems.
JWKS Cache Size Property
When the JWKS endpoint URL is used to fetch the public keys from the authorization server, SignServer caches the keys per issuer.
|
Property |
Description |
|---|---|
|
|
Set the desired number of cached issuers. Default: 10 |
A server restart is required for the changes to take effect.
For more information, see JWT Authorizer.
How to Set Global Properties
Configure in Admin CLI
Property files use the GLOB. or NODE. prefix to identify global or node-scoped entries.
Use setproperty to set a single property:
bin/signserver setproperty global GLOB.PROPERTYNAME value
bin/signserver setproperty global NODE.PROPERTYNAME value
The setproperties command reads all the configuration properties from a property file, and depending on the contents of the key, it sets the given property.
bin/signserver setproperties myconfig.properties
You can also get a property with:
signserver getproperty <signerid | signerName | global | node> <propertykey>
Configuration Commands
|
Command |
Description |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Returns the global configuration depending on options. |
||||||||||||||
|
|
Lists the value of a global property. Usage:
|
||||||||||||||
|
|
Set a single property for either a global and Worker configuration. Usage:
|
||||||||||||||
|
|
Used to batch a set of properties, both for the global and Worker configuration. The command can be used to configure a Signer in a test environment, dump all the properties and upload it into production. The
For examples, see the directory |
||||||||||||||
|
|
Dumps all configured properties for one or all Workers in the system into a property file. If the configuration for one Worker is dumped, the |
Configure in Admin Web
The Admin Web also exposes a Global Configuration section with the same capabilities. See Global Configuration Page.
Viewing Global Properties
To inspect all current global properties alongside Worker statuses:
bin/signserver getstatus complete all
If all Workers are displayed, all the global configuration parameters will also be displayed.
To dump everything to a file for backup or migration:
bin/signserver dumpproperties all backup.properties
Important Notes
-
All configuration commands are cached until a
reloadcommand is issued and the configuration becomes active. After setting global properties, you typically need to runbin/signserver reload <workerID>for worker-related changes. -
The
resynccommand is available if a SignServer node has a complete database failure, causing the Global Configuration to switch to Offline mode. After the database recovers,resyncwrites the valid configuration back and restores Online mode. See Admin CLI. -
Properties considered sensitive (currently
PIN,KEYSTOREPASSWORD, andKEYDATA) are masked when displayed in the Admin Web and in configuration dumps. See Masking Sensitive Properties.