• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Let's Encrypt Bulk Domain Renewal

MacGyver

Basic Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
Plesk Obsidian 18.0.68 Update #2 Web Pro Edition
This question is regarding the Plesk article, "How to renew Let's Encrypt certificates for all domains at once?" which can be found here:

When following the article's directions, it does renew the Server Root Certificate; however, I can't seem to get it to renew the certificates for the domains hosted on the server. Is there something not included in the article that needs to be enabled for each domain?

Also, yes, the certificates are set to renew automatically; however, since Let's Encrypt changed their policy the renewals fail due to GEO Blocking. Due to security policies we are required to block several countries, and Let's Encrypt does not publish IPs for us to be able to white list. Therefore, I have to manually renew all the certs every few months. If I could renew them all at once, it would take at least one thing off my plate.

Any help on this would be very much appreciated.
 
Can you try temporarily enabling the Plesk debug mode, running the SSL task again and confirm what entries are logged in panel.log?
Thank you for the reply. I hope I was able to gather the information you requested. I have to remote a machine that connects to the server, so I had to gain one entry using a screenshot.

As you requested, I did place Plesk into Debug Mode using Panel.ini Editor. I then used Panel.ini to enable the lines necessary to renew Let's Encrypt:

[ext-letsencrypt]
renew-before-expiration = 365

From there, I ran the SSL.

This is a copy of the pop-up from the bottom right of the page after running the SSL:

Task "/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/sslit/scripts/keep-secured.php'" successfully completed in 1 seconds. See details
[2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [0] SQL: connect [2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [0] END: 0.00016 sec [2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [1] SQL: SET sql_mode = '' [2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [1] END: 0.00005 sec [2025-04-05 14:56:49.376] 71264:67f18b015b741 DEBUG [dbquery] [2] SQL: select param, val from misc [2025-04-05 14:56:49.377] 71264:67f18b015b741 DEBUG [dbquery] [2]...

When I click on the details button I see this:

Task "/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/sslit/scripts/keep-secured.php'" successfully completed in 1 seconds, output:

[2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [0] SQL: connect
[2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [0] END: 0.00016 sec
[2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [1] SQL: SET sql_mode = ''
[2025-04-05 14:56:49.375] 71264:67f18b015b741 DEBUG [dbquery] [1] END: 0.00005 sec
[2025-04-05 14:56:49.376] 71264:67f18b015b741 DEBUG [dbquery] [2] SQL: select param, val from misc
[2025-04-05 14:56:49.377] 71264:67f18b015b741 DEBUG [dbquery] [2]...

After that, I went to check the Panel.log. As I was remoted via another machine, I first went to check it in the GUI. However, there were no new entries after running the SSL, so I went to the Terminal in Plesk and ran the following:

cd /var/log/plesk/
less panel.log

The following/attached is a screenshot of the output:

1743885452761.png

If I renew each domain as well as the root manually, it works flawlessly. However, this time it did not renew the root certificate either.

Thank you again for your willingness to help.
 
Thank you for the update. It appears the SSL script is running successfully and there are no entries logged. Judging by the dates of the log entries on the last screenshot, I don't think they are relevant. I am afraid, I have no suggestion on what might be causing the issue with the bulk SSL renewal. I would suggest opening a ticket with Plesk support for an investigation of the issue on your server. If you haven't already, please disable the debug mode to avoid any issues.
 
Back
Top