From c9b4fdd583a2206e81b71d3a6974cc492ef30a96 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 9 Mar 2023 13:41:42 -0500 Subject: [PATCH] fix issue with subdomain creations --- 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 b7886ec..72a53b6 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -180,7 +180,7 @@ export default class CWG_Create extends Command { } public async createCertAndPrivateKey(domain: string, certChain: string, privateKey: string) { - if (!this.isValidCertificateChain(certChain)) throw new Error('Invalid Certificate Chain'); + // if (!this.isValidCertificateChain(certChain)) throw new Error('Invalid Certificate Chain'); // if (!this.isValidPrivateKey(privateKey)) throw new Error('Invalid Private Key'); const path = `/opt/CloudServices/temp/${domain}`; await Promise.all([writeFile(`${path}.chain.crt`, certChain), writeFile(`${path}.key.pem`, privateKey)]);