• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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