1
0
Fork 0

various fixes

refactor/models
Matthew 2020-05-08 19:16:22 -04:00
parent dcf7103913
commit 331afd449a
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ export default class CWG_Create extends Command {
throw new Error('Certificate and Private Key do not match'); 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` }; return { cert: `/etc/nginx/ssl/${domain}.chain.crt`, key: `/etc/nginx/ssl/${domain}.key.pem` };
} }