- 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
This is caused by a software bug in the Let's Encrypt extension with the ID #EXTLETSENC-644. The bug is planned to be fixed in future updates.
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.