Skip to main content

Sensor CLI commands

Use the commands in the below table to manage a DigiCert sensor from the command-line interface (CLI) of the installed system.

  • These sensor CLI commands are found in the sensor's cli sub-directory.

  • The table shows the basic command/script names:

    • For Windows sensors, append the .bat file extension.

    • For Linux sensors, append the .sh file extension.

  • Use the help script (help.bat or help.sh) to display a usage summary of all the available commands/scripts, similar to what's shown in the table.

Available commands

Command

Windows

Linux

Docker

Description

help

help.bat/

./help.sh

Display a usage summary of all available commands

addagentless

addagentless.bat -type <appliance_type>/

./addagentless.sh -type <appliance_type>

docker exec -it <container-id/name> <install-path>/cli/applyproxysettings.sh -file <install-path>/config/proxy.properties

Note: The addagentless Docker entry also supports a second variant — sign into the container first (docker exec -it <container-id/name> bash), then run cli/addagentless.sh directly.

Add or update login credentials and data IP addresses for a network appliance managed by this sensor. Run a separate command for each appliance. Supported types: A10, AWS, AWS-CLOUDFRONT, BIGIP, NETSCALER.

applyproxysettings

applyproxysettings.bat -file <path\proxy.properties>

./applyproxysettings.sh -file <path/proxy.properties>

docker exec -it <container-id/name> <install-path>/cli/applyproxysettings.sh -file <install-path>/config/proxy.properties

Apply updated proxy settings from the proxy.properties configuration file without restarting the sensor service.

getproxysettings

getproxysettings.bat

./getproxysettings.sh

docker exec -it <container-id/name> <install-path>/cli/getproxysettings.sh

Retrieve the current proxy settings configured for this sensor.

adddnsintegration

adddnsintegration.bat -type <dns_provider_name>

./adddnsintegration.sh -type <dns_provider_name>

Add a DNS integration to automate DV certificate domain validation on load balancers.

listsupporteddns

listsupporteddns.bat

./listsupporteddns.sh

View the complete list of DNS providers supported for DNS integrations.

listdnsintegration

listdnsintegration.bat -type <dns_provider_name>

./listdnsintegration.sh -type <dns_provider_name>

View the DNS integrations currently configured on this sensor.

updatednsintegration

updatednsintegration.bat -alias <alias_name>

./updatednsintegrationdeletednsintegration.sh -alias <alias_name>

deletednsintegration

deletednsintegration.bat -alias <alias_name>

./deletednsintegration.sh -alias <alias_name>

Remove a DNS integration from this sensor.