forked from engineering/cloudservices
various fixes
parent
202f87e832
commit
dcf7103913
|
@ -195,7 +195,7 @@ export default class CWG_Create extends Command {
|
|||
throw new Error('Certificate and Private Key do not match');
|
||||
}
|
||||
|
||||
await Promise.all([writeFile(`/etc/ssl/certs/cwg/${domain}.chain.crt`, certChain), writeFile(`/etc/certs/private/cwg/${domain}.key.pem`, privateKey)]);
|
||||
await Promise.all([writeFile(`/etc/ssl/certs/cwg/${domain}.chain.crt`, certChain), writeFile(`/etc/ssl/certs/private/cwg/${domain}.key.pem`, privateKey)]);
|
||||
return { cert: `/etc/nginx/ssl/${domain}.chain.crt`, key: `/etc/nginx/ssl/${domain}.key.pem` };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue