From 331afd449a577cb401fe60daea8598b467c61ee4 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 8 May 2020 19:16:22 -0400 Subject: [PATCH] various fixes --- src/commands/cwg_create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index 9c5b995..c16da15 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -195,7 +195,7 @@ export default class CWG_Create extends Command { throw new Error('Certificate and Private Key do not match'); } - await Promise.all([writeFile(`/etc/ssl/certs/cwg/${domain}.chain.crt`, certChain), writeFile(`/etc/ssl/certs/private/cwg/${domain}.key.pem`, privateKey)]); + await Promise.all([writeFile(`/etc/ssl/certs/cwg/${domain}.chain.crt`, certChain), writeFile(`/etc/ssl/private/cwg/${domain}.key.pem`, privateKey)]); return { cert: `/etc/nginx/ssl/${domain}.chain.crt`, key: `/etc/nginx/ssl/${domain}.key.pem` }; }