From 159c043ba6177b49705e0ab584405b0c9e73aa2b Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Thu, 11 Apr 2019 02:01:44 +0200 Subject: [PATCH] fix(core): update --- ts/smartnginx.classes.smartnginx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smartnginx.classes.smartnginx.ts b/ts/smartnginx.classes.smartnginx.ts index afdfe93..fd0f154 100644 --- a/ts/smartnginx.classes.smartnginx.ts +++ b/ts/smartnginx.classes.smartnginx.ts @@ -123,7 +123,7 @@ export class SmartNginx { // deploy hosts plugins.smartfile.fs.ensureDirSync(paths.nginxHostDirPath); plugins.smartfile.memory.toFsSync(selfsignedCert.private, plugins.path.join(paths.nginxHostDirPath, './default.private.pem')); - plugins.smartfile.memory.toFsSync(selfsignedCert.public, plugins.path.join(paths.nginxHostDirPath, './default.public.pem')); + plugins.smartfile.memory.toFsSync(selfsignedCert.cert, plugins.path.join(paths.nginxHostDirPath, './default.public.pem')); for (const host of this.deployedHosts.getArray()) { await host.deploy(); this.logger.log('info', `Host ${host.hostName} deployed!`);