The Configuration Generator utility generates deployment-specific versions of the property files used by the web application portion of the Direct Certificate Discovery Tool.
The user is required to specify the target deployment domain and the result mail sender information at runtime, as explained below.
The utility is invoked on the command line:
$ ./configgen.sh --help
Usage:
configgen [--help -d <name> -o <path> --ra <address> --rps <pass> --rh <host> --rp <num>]
--help Print help information.
-d (--domain) name Domain name of the deployment.
-o (--out) path Path to the output archive file.
--ra (--resaddr) address Result mail address.
--rps (--respass) pass Result mail password.
--rh (--reshost) host Result mail host.
--rp (--resport) num Result mail port.
-rs (-resssl) Result mail SSL usage.
-d (--domain) name Domain name of the deployment.
--ra (--resaddr) address Result mail address.
--rps (--respass) pass Result mail password.
--rh (--reshost) host Result mail host.
-o (--out) path Path to the output archive file.
--rp (--resport) num Result mail port.
-rs (-resssl) Result mail SSL usage.
$ ./configgen.sh -d localhost --ra dcdt@localhost --rps p4ssw0rD! --rh localhost
Successfully wrote output file: out/configgen/localhost-config.zip
Extract the generated zip file to the directory set by the dcdt.config.dir system property value, which is passed into the web application container.