Skip to main content

Add scripts

Store your custom scripts in the local user-scripts sub-directory of any DigiCert agents that will run them. Find this sub-directory at the top level of the directory where you installed each DigiCert agent.

To start using a new script, use the Add script function in DigiCert​​®​​ Trust Lifecycle Manager to configure the details for it, including the script type, filename in the user-scripts sub-directory, and an optional description for it.

Add a script

To make an agent script available in Trust Lifecycle Manager:

  1. In the Trust Lifecycle Manager main menu, select Integrations > Agents.

  2. From the More actions dropdown at top, select Add script.

  3. Fill out the Add script form:

    • Name: Enter a user-friendly name for referencing the script.

    • Operating system: Select the applicable operating system (Linux or Windows).

    • Script type: Select the applicable script type.

    • Script filename: Enter the script's filename in or path relative to the DigiCert agent's user-scripts sub-directory.

      For example, if your script is named "myscript.sh" and is stored directly in the agent's user-scripts sub-directory, enter myscript.sh here. If you stored the script within an additional sub-directory called "custom-apps" in the user-scripts sub-directory, enter custom-apps/myscript.sh instead.

    • Description (optional): Enter an optional description for the script to help identify it when working with DigiCert agents and agent-based automations in Trust Lifecycle Manager.

    For script type Custom automation, an additional input field appears for you to fill out:

    • Command-line arguments: Enter a space-separated list of ACME-related parameters to use. When it executes the script, the local DigiCert agent supplies values for these parameters as command-line arguments, so they can be used by a third-party ACME client to request and install certificates.

      To learn more about the use of custom automation scripts, see Configurar um aplicativo personalizado para automação gerenciada.

  4. Select Add to save the agent script in Trust Lifecycle Manager.

What's next

After adding an agent script in Trust Lifecycle Manager, you can assign it to an agent.