summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-06-19 05:41:14 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-06-19 05:41:14 +0000
commit140b253a8660d4bb979971625ebc3894a2788967 (patch)
tree98776a93b6c07208b4b64d79ef3942e7282f1075
parentReleasing version 20221224. (diff)
downloadservice-tools-140b253a8660d4bb979971625ebc3894a2788967.tar.xz
service-tools-140b253a8660d4bb979971625ebc3894a2788967.zip
Updating chain coments in deploy_cert.extra dehydrated hook.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xdehydrated/share/hooks/deploy_cert.extra10
1 files changed, 6 insertions, 4 deletions
diff --git a/dehydrated/share/hooks/deploy_cert.extra b/dehydrated/share/hooks/deploy_cert.extra
index fd93fad..9e7b9b2 100755
--- a/dehydrated/share/hooks/deploy_cert.extra
+++ b/dehydrated/share/hooks/deploy_cert.extra
@@ -27,12 +27,14 @@ DIRECTORY="$(dirname "${CERTFILE}")"
if [ "$(grep -c 'BEGIN CERTIFICATE' ${FULLCHAINFILE})" -ge 3 ]
then
- # - chain.pem: R3 | ISRG Root X1
- # - fullchain.pem: Certificate | R3 | ISRG Root X1
+ # long chain:
+ # * chain.pem: (R3 | ISRG Root X1)
+ # * fullchain.pem: (Certificate | R3 | ISRG Root X1)
CHAIN="long"
else
- # - chain.pem: R3
- # - fullchain.pem: Certificate | R3
+ # short chain:
+ # * chain.pem: (R3)
+ # * fullchain.pem (Certificate | R3)
CHAIN="short"
fi