• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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