summaryrefslogtreecommitdiffstats
path: root/dehydrated/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-27 09:24:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-27 09:24:17 +0000
commit3e2de52208ecbb85ef2c6ef92035a438f0ba62de (patch)
tree341b2acc2e310c4eb49da8dec7dd06cf1234a094 /dehydrated/share
parentReleasing debian version 20221226-1. (diff)
downloadopen-infrastructure-service-tools-3e2de52208ecbb85ef2c6ef92035a438f0ba62de.tar.xz
open-infrastructure-service-tools-3e2de52208ecbb85ef2c6ef92035a438f0ba62de.zip
Merging upstream version 20221227.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dehydrated/share')
-rwxr-xr-xdehydrated/share/hooks/deploy_ocsp.extra7
1 files changed, 3 insertions, 4 deletions
diff --git a/dehydrated/share/hooks/deploy_ocsp.extra b/dehydrated/share/hooks/deploy_ocsp.extra
index 35a13f6..92b2247 100755
--- a/dehydrated/share/hooks/deploy_ocsp.extra
+++ b/dehydrated/share/hooks/deploy_ocsp.extra
@@ -26,12 +26,11 @@ echo " + Creating extra ocsp links..."
DIRECTORY="$(dirname "${OCSPFILE}")"
OCSP="$(readlink "${OCSPFILE}")"
-for EXTRA in fullchain_privkey privkey_fullchain
+for EXTRA in fullchain_privkey privkey_fullchain root_intermediate_cert
do
- EXTRA1="$(echo ${EXTRA} | awk -F_ '{ print $1 }')"
- EXTRA2="$(echo ${EXTRA} | awk -F_ '{ print $2 }')"
+ rm -f "${DIRECTORY}/${EXTRA}-${TIMESTAMP}.pem.ocsp"
- ln -sf "${OCSP}" "${DIRECTORY}/${EXTRA1}_${EXTRA2}.pem.ocsp"
+ ln -sf "${OCSPFILE}" "${DIRECTORY}/${EXTRA}.pem.ocsp"
done
echo " done."