Command: ubos-admin createsite
To see the supported options, invoke
ubos-admin createsite --help.
--dry-run command is given, this command must be run as root
sudo ubos-admin createsite).
This command is best understood as a wrapper around Command: ubos-admin deploy which:
creates a Site JSON from information provided interactively by the user on the terminal;
optionally, generates an OpenSSL key pair and a self-signed certificate and inserts those into the Site JSON file;
optionally, obtains a LetsEncrypt SSL/TLS certificate. Due to the way LetsEncrypt operates, this only works on Devices that have a publicly accessible IP address and public DNS has been set up to resolve the hostname of the to-be-created Site to that Device.
optionally, the user can provide a template Site JSON file as an argument to the command. If so, the user will only be asked for information that is not already contained in the template Site JSON file.