Applicable to:
- Plesk Obsidian for Linux
- Plesk Obsidian for Windows
- Plesk Onyx for Linux
- Plesk Onyx for Windows
Question
It is needed to enable/disable notifications about Let's Encrypt certificate renewal.
How can it be done?
Answer
To disable Let's Encrypt renewal success notifications via Plesk interface:
Go to Plesk > Tools & Settings > Notifications:
-
Let's Encrypt certificates auto-renewal failure (customer's digest)
-
Let's Encrypt certificates auto-renewal success (customer's digest)
In case the extension SSL It! is enabled, the following options should be disabled:
-
SSL It! certificates auto-renewal failure (customer's digest)
-
SSL It! certificates auto-renewal success (customer's digest)
To disable Let's Encrypt renewal success notifications via CLI
-
Connect to the server via SSH.
-
Execute the following command:
For Plesk Onyx:
# plesk bin notification --update -id ext-letsencrypt-notification-certificateAutoRenewalSucceed -send2admin false -send2reseller false -send2client false -send2email false
For Plesk Obsidian:
# plesk bin notification --update -code ext-letsencrypt-notification-certificateAutoRenewalSucceed -send2admin false -send2reseller false -send2client false -send2email false
Note: In case the extension SSL It! is enabled, run the same command with the id/code
ext-sslit-notification-certificateAutoRenewalSucceed
as well.
-
Connect to the server via RDP
-
Execute the following command:
For Plesk Onyx:
# plesk bin notification --update -id ext-letsencrypt-notification-certificateAutoRenewalSucceed -send2admin false -send2reseller false -send2client false -send2email false
For Plesk Obsidian:
# plesk bin notification --update -code ext-letsencrypt-notification-certificateAutoRenewalSucceed -send2admin false -send2reseller false -send2client false -send2email false
Note: In case the extension SSL It! is enabled, run the same command with the id/code
ext-sslit-notification-certificateAutoRenewalSucceed
as well.
Comments
4 comments
I ran above command via CLI but notifications still coming.
Hi, please contact support to check the issue.
Can this be added to the main documentation? https://docs.plesk.com/en-US/obsidian/cli-linux/using-command-line-utilities/notification-email-notification-about-system-events.66604/
Edit:
We found out, where the notification code ids can be read from.
Enter your plesk administrator interface and open the notifications page (Tools & Settings > Notifications )
Hover over the edit buttons of the notification types. The notification code can be read from the edit button URLs.
So https://yourpleskserver.com/server/notification_text.php?code=ext-wp-toolkit-notification-admin_suspicious_instance has the code ext-wp-toolkit-notification-admin_suspicious_instance.
Hello,
Thanks for sharing the information about how to find the specific IDs on notifications. I will transfer this information to the group in charge of maintaining the documentation for further evaluation.
Thanks for pointing this out! I really appreciate it!
Please sign in to leave a comment.