Bug & Suggested Fix for Let’s Encrypt Hooks

Hi dear HestiaCP Community!

I posted some months ago a detailed info regarding this issue here:

Let’s Encrypt Hooks

I suppose nobody took note of it because it was a reply to a topic with given solution.
However, it came out that this fix only works for the first time cert creation. Later renewals would not execute the hook!
I explained in detail there why the present solution does not work.
Finally, I also suggested a very simple fix.

I have also add a comment in github, where the feature was introduced:

It is indeed no big change.
I (and many others for sure) would be thankful if you could apply this fix into the next release.

Thank you and best regards!

2 Likes

Hi @teoli

Check this PR:

3 Likes

Great!
this would be even better :slight_smile:

Let’s hope this goes through. The previous option should then be removed; otherwise, it leads to confusion.