Articles in this section

How to renew Let's Encrypt certificates for all domains at once?

Plesk for Windows kb: how-to Plesk for Linux ext: sslit

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

  • How to renew Let's Encrypt certificates for all domains at once?
  • Is it possible to renew Let's Encrypt SSL certificates for all hosted websites at once?

Answer

That can be achieved by following these steps:

  1. Log in to the Plesk GUI
  2. Install Panel.ini Editor extension
  3. Go to Extensions > My Extensions > Panel.ini Editor > Open > Editor tab > Add the following configuration then click save:

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

Execute Let's Encrypt renewal task to renew all the Let's Encrypt certificates going to Tools & Settings > Scheduled Tasks > Search for ssl > Click on Run Now for the following task:

Note: Keep in mind that Let's Encrypt rate limits allow you to create a maximum of 300 New SSL Orders per account per 3 hours, so you securing all domains at once will be impossible if you have more than 300 domains that do not have SSL certificates.

Plesk for Linux

CONFIG_TEXT: /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/sslit/scripts/keep-secured.php'

 

Plesk for Windows Server

CONFIG_TEXT: C:\Program Files (x86)\Plesk\/admin/engine/php.exe -dauto_prepend_file=sdk.php "C:\Program Files (x86)\Plesk\admin\plib\modules\sslit\scripts\keep-secured.php"


4. Go to Extensions > My Extensions > Panel.ini Editor > Open > Editor tab and disable or remove the changes performed from Step 2:

CONFIG_TEXT: ;[ext-letsencrypt]
;renew-before-expiration = 365

Was this article helpful?

Comments

2 comments
Date Votes
  • Hey there!
    we are using Ubuntu 24.04.2 LTS and lets encrypt does not renew. what would you propose me to do?
    Thanks for a feedback
    Michael F.

    0
  • i recommend that you update to newer ubuntu release like 24.04 or 26.04 that will arive next year

    0

Please sign in to leave a comment.