Lets Encrypt final execution hook

Discussions about the usage of KeyHelp.
Post Reply
User avatar
latifolia
Posts: 42
Joined: Wed 18. Aug 2021, 09:08

Lets Encrypt final execution hook

Post by latifolia »

Hello,

Can I have a recomendation on how to execute a script after Lets Encrypt in KeyHelp finish creating/updating Certificate?

I need to execute a local script which will update TLSA record in Cloudflare whenever the certificate is created/updated in KeyHelp.

PS :
The local script for CLoudflare is ready, just need info how to attach it on last action by Lets Encrypt in KeyHelp.

Thank you
User avatar
Jolinar
Community Moderator
Posts: 3560
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Lets Encrypt final execution hook

Post by Jolinar »

latifolia wrote: Mon 31. Jan 2022, 11:10 The local script for CLoudflare is ready, just need info how to attach it on last action by Lets Encrypt in KeyHelp.
In example, you could check the timestamp of the corresponding certificate file in your script.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
User avatar
latifolia
Posts: 42
Joined: Wed 18. Aug 2021, 09:08

Re: Lets Encrypt final execution hook

Post by latifolia »

Jolinar wrote: Mon 31. Jan 2022, 11:44
latifolia wrote: Mon 31. Jan 2022, 11:10 The local script for CLoudflare is ready, just need info how to attach it on last action by Lets Encrypt in KeyHelp.
In example, you could check the timestamp of the corresponding certificate file in your script.
Yes, thats what I have been implementing but I have idea in mind that things will get easier if I just attach it on last execution of Lets Encrypt action
in KeyHelp, so the core of problem is : "how to attach it on last action by Lets Encrypt in KeyHelp" so the script will be autocalled by Lets Encrypt.

I assume it will change the source code of KeyHelp? because KeyHelp has made some private customizations on Lets Encrypt mechanism ?
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: Lets Encrypt final execution hook

Post by Tobi »

You can easily write your own API application.
This application could renew the cert and aftwards change cloudflare.

KeyHelp does not support such triggered actions (yet).
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Post Reply