Pass ${timestamp} to hook script for extended certificate manipulation. #38

Closed
opened 2025-12-29 00:23:02 +01:00 by adam · 1 comment
Owner

Originally created by @Celti on GitHub (Jan 20, 2016).

I'm using my hook script to create an 'everything.pem' for software that requires the cert, chain, and key all in a single file.

It would be cleaner if the hook script was passed the timestamp so I can replace TIMESTAMP="$(readlink ${FULLCHAIN} | sed 's/fullchain-//;s/\.pem//;')" with TIMESTAMP=$6.

Alternatively, if letsencrypt.sh created everything.pem itself it would be nice, but that differs from upstream at present.

Originally created by @Celti on GitHub (Jan 20, 2016). I'm using my hook script to create an 'everything.pem' for software that requires the cert, chain, and key all in a single file. It would be cleaner if the hook script was passed the timestamp so I can replace `TIMESTAMP="$(readlink ${FULLCHAIN} | sed 's/fullchain-//;s/\.pem//;')"` with `TIMESTAMP=$6`. Alternatively, if letsencrypt.sh created everything.pem itself it would be nice, but that differs from upstream at present.
adam added the enhancement label 2025-12-29 00:23:02 +01:00
adam closed this issue 2025-12-29 00:23:02 +01:00
Author
Owner

@Celti commented on GitHub (Apr 4, 2016):

Looks like you added this in d5c9dd6 — thanks!

@Celti commented on GitHub (Apr 4, 2016): Looks like you added this in d5c9dd6 — thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#38