Author Topic: Recommended acme.sh cron for CWP AutoSSL renewals?  (Read 93 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Recommended acme.sh cron for CWP AutoSSL renewals?
« on: May 26, 2026, 08:49:55 AM »
I noticed that on some CWP servers the acme.sh cron is configured like this:

bash /root/.acme.sh/acme.sh --cron --home /root/.acme.sh

But on other CWP servers it is configured like this:

bash /root/.acme.sh/acme.sh --cron --home /root/.acme.sh/cwp_certs

Since CWP seems to store AutoSSL certificates under:

bash /root/.acme.sh/cwp_certs/

I would like to confirm which cron is currently the correct/recommended one for CWP AutoSSL renewals.

Should we use:

bash /root/.acme.sh/acme.sh --cron --home /root/.acme.sh/cwp_certs

or should CWP handle this differently?

I recently had a case where the cron using /root/.acme.sh was running daily, but it did not seem to process the certificates inside cwp_certs, so some SSL certificates were not renewed automatically.

Can someone from the CWP team or the community clarify the recommended setup?

Offline
***
Re: Recommended acme.sh cron for CWP AutoSSL renewals?
« Reply #1 on: May 26, 2026, 11:48:42 PM »
I'm using the following syntax in my scripts, and they're working::

Code: [Select]
# /root/.acme.sh/acme.sh    --home /root/.acme.sh/cwp_certs
  \___________________/            \_____________________/
            ^                                 ^
This is the program part       This is home directory part

The "bash" part is not necessary because the script "/root/.acme.sh/acme.sh" already has execute permission.

Regards,
Netino

Offline
**
Re: Recommended acme.sh cron for CWP AutoSSL renewals?
« Reply #2 on: May 28, 2026, 07:50:22 AM »
In some of my servers I have exactly the same but in others I have only "bash /root/.acme.sh/acme.sh --cron --home /root/.acme.sh" this is automatically managed by cwp and I want to know which one is correct