Skip to main content

Configure post-processing script timeout in DigiCert Trust Assistant

DigiCert Trust Assistant (DTA) enforces a script timeout while running any post-processing script. This script timeout value can be customized to meet specific needs.

You can configure the script timeout in DigiCert Trust Assistant using the configuration file.

  1. Open the configuration file for editing. For more details about configuration file, see DigiCert Trust Assistant User Guide > Configuration.

  2. In the configuration file, locate the PostscriptService configuration details under the services section.

  3. The parameter msTimeout controls the script timeout. Modify the script timeout value to the desired duration, in milli-seconds.

    For example, to set a timeout of 15 seconds, you need to change the value to "msTimeout": 15000.

  4. Save the configuration file and restart DigiCert Trust Assistant so that it reads the updated configuration file.

With the script timeout configured in the configuration file, DigiCert Trust Assistant will use the specified timeout value when executing post-processing scripts. When no custom timeout value is configured, the default fallback timeout is 10 seconds. If a script execution exceeds this timeout period, DigiCert Trust Assistant takes specific actions to handle the situation.

A breakdown of how this process works is explained below:

Default script timeout: DigiCert Trust Assistant is configured to wait for up to 10 seconds (or the configured value) for a post-processing script to complete its execution.

Timeout exceeded: When the script does not finish within the specified time frame, DigiCert Trust Assistant sends a SIGTERM signal to terminate the script execution. This signal is a request for the script to gracefully stop.

Execution status: The status of the script execution will be marked as FAILED. This indicates that the script did not complete successfully within the allotted time.