• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question SSL renewed/created hook?

sweetp

Basic Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
18.0.68
I have a bash script to add a TLSA entry to my DNS. Is there some kind of notification I can listen for to run this script after an SSL renewal or manual creation.

I’ve seen a GitHub project that does it like this:
Code:
Navigate to Plesk > Tools and Settings > Scheduled Tasks.
Find the Let's Encrypt renewal task, usually named "Extension letsencrypt" and is located at "/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/letsencrypt/scripts/maintenance.php'". Note its execution time, for example, 03:05.

But is this script static? Or does it change, which would mean I’d need to manually update my script
 
Back
Top