Are you saying you’ve turned off Request SSL certificate from provider at domain creation time (set to No and saved it) and it still tries to get a cert when you create from CLI? That’d be a bug.
our goal is to have several bash-shell scripts that really does everything regarding installation so i an very quickly recreate a server if necessary.
here is the relevant portion:
sh -c "$(curl -fsSL https://download.virtualmin.dev/virtualmin-install.sh)" \
-- \
--bundle LAMP \
--branch unstable \
--hostname host.HOSTNAME.info \
--yes
## for a pre-release (--yes assumes yes for all prompts)
/usr/bin/sed --in-place --expression='s/^longname=0$/longname=1/;' /etc/webmin/virtual-server/config ;
/usr/bin/sed --in-place --expression='s/^ssl=3$/ssl=2/;' /etc/webmin/virtual-server/config ; ## new line
/usr/bin/sed --in-place --expression='s/^featurelimits=$/featurelimits=dns web/;' /etc/webmin/virtual-server/plans/0 ;
virtualmin create-domain --domain test-domain --pass abcdefg --dir --unix --dns --web ;
## --dns and --web are the ONLY two options requested
it might be nice in a future release to include new options like “–create-ssl” and/or “–skip-ssl” with the virtualmin create-domain; command. right now using the website method vs using the CL gives slightly different results.
i realize this is VERY minor, but i thought it might be worth mentioning.