util: Generate self signed certificate into data directory

Closes #1778
This commit is contained in:
Anmol Sethi
2020-10-30 04:13:22 -04:00
parent 860c99e3b8
commit 10b3028196
3 changed files with 14 additions and 9 deletions

View File

@ -209,7 +209,7 @@ const main = async (args: Args, configArgs: Args): Promise<void> => {
logger.info(
args.cert && args.cert.value
? ` - Using provided certificate and key for HTTPS`
: ` - Using generated certificate and key for HTTPS`,
: ` - Using generated certificate and key for HTTPS: ${humanPath(options.cert)}`,
)
} else {
logger.info(" - Not serving HTTPS")