Limiting the number of signatures
By default SignServer keeps track of the number of signings performed with each key, by holding counters in the database that are updated for each signing. The following worker properties control the key usage counter:
Property | Description |
---|---|
KEYUSAGELIMIT | Specifies the number of signatures allowed to be created with the same key by this worker. Default is -1 = no limit. After the limit has been reached, the worker is considered offline.
|
DISABLEKEYUSAGECOUNTER | By default, all key usages are counted, but by specifying this as TRUE, key usages performed by this worker will not be counted. Disabling the key usage counter can improve performance, as it means less database transaction. However, if you have requirements on the number of allowed signings for one worker, ensure not to use the same key with another worker for which the counter is disabled, as those uses will then be missed.
|