From 8ce060282e34beda6931118bc3698f5400e2f80e Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 8 May 2020 19:41:16 -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 9f48fdc..a54c3be 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -199,7 +199,7 @@ export default class CWG_Create extends Command { } await Promise.all([writeFile(`/etc/ssl/certs/cwg/${domain}.chain.crt`, certChain), writeFile(`/etc/ssl/private/cwg/${domain}.key.pem`, privateKey)]); - return { cert: `/etc/ssl/certs/cwg/${domain}.chain.crt`, key: `/etc/ssl/private/cwg/${domain}.chain.crt` }; + return { cert: `/etc/ssl/certs/cwg/${domain}.chain.crt`, key: `/etc/ssl/private/cwg/${domain}.key.pem` }; } public checkOccurance(text: string, query: string) {