mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Pass ${timestamp} to hook script for extended certificate manipulation. #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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//;')"withTIMESTAMP=$6.Alternatively, if letsencrypt.sh created everything.pem itself it would be nice, but that differs from upstream at present.
@Celti commented on GitHub (Apr 4, 2016):
Looks like you added this in
d5c9dd6— thanks!