New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Recommended acme.sh cron for CWP AutoSSL renewals?

Started by kandalf, May 26, 2026, 08:49:55 AM

Previous topic - Next topic

kandalf

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?

Netino

I'm using the following syntax in my scripts, and they're working::


# /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

kandalf

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