summaryrefslogtreecommitdiff
path: root/sign-request.in
diff options
context:
space:
mode:
Diffstat (limited to 'sign-request.in')
-rwxr-xr-xsign-request.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sign-request.in b/sign-request.in
index 0185cf4..331815f 100755
--- a/sign-request.in
+++ b/sign-request.in
@@ -14,6 +14,8 @@ remove_leading_spaces() {
'
}
+export CA_TYPE='Intermediate'
+
if [ -f '#ETCDIR#/simple-pki/ca/root-ca.old.crt' ] \
&& [ "$(stat -c%Y '#ETCDIR#/simple-pki/ca/root-ca.old.crt')" -ge "$(($(date +%s)-60*60*24*ca_min_duration))" ]; then
export CA=signing-ca.old