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:
- Log in to the Plesk GUI
- Install Panel.ini Editor extension
- Go to Extensions > My Extensions > Panel.ini Editor > Open > Editor tab > Add the following configuration then click save:
[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.
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/sslit/scripts/keep-secured.php'
C:Program Files (x86)Plesk/admin/engine/php.exe -dauto_prepend_file=sdk.php "C:Program Files (x86)Pleskadminplibmodulessslitscriptskeep-secured.php"
4. Go to Extensions > My Extensions > Panel.ini Editor > Open > Editor tab and disable or remove the changes performed from Step 2:
;[ext-letsencrypt]
;renew-before-expiration = 365