1
0
Fork 0

fix issue with subdomain creations

master
Matthew 2023-03-09 13:41:42 -05:00
parent f91cc0221a
commit c9b4fdd583
1 changed files with 1 additions and 1 deletions

View File

@ -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)]);