X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=06-hook.sh;fp=06-hook.sh;h=86f2f2b6d9ce1d958929e5e2488decc64bc63044;hb=3507efd3274f0ffbfacd3295346cf33cf1df7f43;hp=0000000000000000000000000000000000000000;hpb=8cde6e05cf8afeb7c5bea06a7f5e5c07e78ed76f;p=packages%2Fdehydrated.git diff --git a/06-hook.sh b/06-hook.sh new file mode 100644 index 0000000..86f2f2b --- /dev/null +++ b/06-hook.sh @@ -0,0 +1,14 @@ +# Program or function called in certain situations +# +# After generating the challenge-response, or after failed challenge (in this case altname is empty) +# Given arguments: clean_challenge|deploy_challenge altname token-filename token-content +# +# After successfully signing certificate +# Given arguments: deploy_cert domain path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem +# +# BASEDIR and WELLKNOWN variables are exported and can be used in an external program +# default: +#HOOK="/etc/dehydrated/hook.sh" + +# Chain clean_challenge|deploy_challenge arguments together into one hook call per certificate (default: no) +#HOOK_CHAIN="no"