Configuring and Using SSL with the Disbatch Command Interface

Configuring

This will run the Disbatch Command Interface on port 443 using SSL, as well as create 301 redirects for ports 80 and 8080.

Using the CLI

To use the disbatch.pl CLI on the same server as nginx is running, no changes are needed.

To use the CLI on another host, pass --url https://$FQDN and either --ssl_ca_file $ssl_ca_file if using a private CA, or --disable_ssl_verification to disable verification.

Alternately, if the process has read access to /etc/disbatch/config.json, it can use the same SSL settings as MongoDB.