Hook for AutoSSL Completion
Hi,
Basically I'm running an nginx SSL termination setup and have written a small script to update the linked certificate and key for each virtual server. However the best I can come up with at the moment is to have cron run the script a few minutes after the autossl check. This bothers me because it leaves the potential for SSL to stop working for several minutes when the certificate changes.
I'm struggling to work out the best way of having the script run immediately following an AutoSSL certificate installation, as to the best of my knowledge this is the best way of tackling the issue. I thought a hook would work but can't find anything to hook?
The only function I could find that is related was the get_autossl_check_schedule.
I'd really appreciate some advice on the issue?
-
Hello, This is discussed on the following thread: Run custom script upon successful autossl certificate installation While there's no specific event to hook into at this time, there are a couple of feature requests open at: WHMAPI1 hook for SSL install and removal Ability to run hook script when autossl will install ssl certificate for website. Thank you. 0 -
Hello, This is discussed on the following thread: Run custom script upon successful autossl certificate installation While there's no specific event to hook into at this time, there are a couple of feature requests open at: WHMAPI1 hook for SSL install and removal Ability to run hook script when autossl will install ssl certificate for website. Thank you.
Thank you.0
Please sign in to leave a comment.
Comments
2 comments