summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-27 09:24:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-27 09:24:14 +0000
commitc9a6c315099db986f8a11aeea12a77ac7d9e0685 (patch)
tree117ec696b8e9a7914915c407b7206bfb64bdefc7
parentAdding upstream version 20221226. (diff)
downloadopen-infrastructure-service-tools-c9a6c315099db986f8a11aeea12a77ac7d9e0685.tar.xz
open-infrastructure-service-tools-c9a6c315099db986f8a11aeea12a77ac7d9e0685.zip
Adding upstream version 20221227.upstream/20221227
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--CHANGELOG.txt7
-rw-r--r--VERSION.txt2
-rwxr-xr-xdehydrated/share/hooks/deploy_ocsp.extra7
3 files changed, 11 insertions, 5 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 859b599..bbfc06f 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,10 @@
+2022-12-27 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+
+ * Releasing version 20221227.
+
+ [ Daniel Baumann ]
+ * Generalizing extra ocsp symlinks too in dehydrated hooks.
+
2022-12-26 Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Releasing version 20221226.
diff --git a/VERSION.txt b/VERSION.txt
index 6c91a60..154fbb1 100644
--- a/VERSION.txt
+++ b/VERSION.txt
@@ -1 +1 @@
-20221226
+20221227
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."