diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index 0cb4f10..862298b 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -192,7 +192,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.isValidPrivateKey(privateKey)) throw new Error('Invalid Private Key'); + // 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)]); if (!this.isMatchingPair(`${path}.chain.crt`, `${path}.key.pem`)) {