Applicable to:
- Plesk for Linux
Question
How to make sure that the Cron task for renewing Let's Encrypt certificates is present?
Answer
1. Navigate to Plesk > Tools and Settings > Scheduled Tasks
2. By default there should be the following task with similar content which is responsible for renewing Lets Encrypt certificates:
For RHEL Based OS:
CONFIG_TEXT: /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/sslit/scripts/keep-secured.php'
For Debian Based OS:
CONFIG_TEXT: /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/sslit/scripts/keep-secured.php'
- Connect to the server via SSH;
-
Refer to the output of the following command:
# crontab -l | grep renew
7 21 * * * /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/letsencrypt/scripts/renew.php'
Comments
Please sign in to leave a comment.