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?
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
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