- Plesk Onyx for Linux
Customer received Let's Encrypt certificate expiration notice for one or multiple domains:
CONFIG_TEXT: Subject: Let's Encrypt certificate expiration notice for domain "example.com"
(and 388 more)
Your certificate (or certificates) for the names listed below will expire in 19 days (on 14 Jan 19 03:23 +0000). Please make sure to renew your certificate before then, or visitors to your website will encounter errors.
We recommend renewing certificates automatically when they have a third of their total lifetime left. For Let's Encrypt's current 90-day certificates, that means renewing 30 days before expiration. See
https://letsencrypt.org/docs/integration-guide/ for details.
When running the task
/usr/local/psa/admin/plib/modules/letsencrypt/scripts/keep-secured.phpat Tools & Settings > Scheduled Tasks, it fails.
- Multiple Let's Encrypt certificates are issued for different domains in Plesk
The following error message can be observed in
CONFIG_TEXT: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /usr/local/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Db/Statement/Pdo.php on line 228
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 65536 bytes) in /usr/local/psa/admin/plib/dnsmng.php on line 8
#EXTLETSENC-644 "Automatic renewal of Let’s Encrypt certificates no longer fails when a domain has a large number of secured subdomains (more than 200)."
- Let’s Encrypt 2.10.0 28 May 2020
If update is not possible for some reason you may try the following
Until a fix becomes available you may use the following workaround:
Go to Tools & Settings > Scheduled Tasks and click on the
Change the command section to the following:
CONFIG_TEXT: /usr/local/psa/admin/bin/php -dmemory_limit=-1 -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/letsencrypt/scripts/keep-secured.php'
Note: This can cause highly increased memory usage, thus it is recommended to check the available memory first.