diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index f3135e7..9f48fdc 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -199,7 +199,7 @@ export default class CWG_Create extends Command { } 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/ssl/certs/cwg/${domain}.chain.crt`, key: `/etc/ssl/private/cwg/${domain}.chain.crt` }; } public checkOccurance(text: string, query: string) {