summaryrefslogtreecommitdiffstats
path: root/dehydrated/share/hooks/deploy_ocsp.fullchain-privkey
diff options
context:
space:
mode:
Diffstat (limited to 'dehydrated/share/hooks/deploy_ocsp.fullchain-privkey')
-rwxr-xr-xdehydrated/share/hooks/deploy_ocsp.fullchain-privkey8
1 files changed, 8 insertions, 0 deletions
diff --git a/dehydrated/share/hooks/deploy_ocsp.fullchain-privkey b/dehydrated/share/hooks/deploy_ocsp.fullchain-privkey
new file mode 100755
index 0000000..e68716b
--- /dev/null
+++ b/dehydrated/share/hooks/deploy_ocsp.fullchain-privkey
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+FILE="$(readlink "${OCSPFILE}")"
+DIRECTORY="$(dirname "${OCSPFILE}")"
+
+ln -sf "${FILE}" "${DIRECTORY}/cert.fullchain-privkey.pem.ocsp"