various fixes
parent
dcf7103913
commit
331afd449a
|
@ -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/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` };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue