summaryrefslogtreecommitdiffstats
path: root/conf/CA/newIntermediate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'conf/CA/newIntermediate.sh')
-rw-r--r--conf/CA/newIntermediate.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/CA/newIntermediate.sh b/conf/CA/newIntermediate.sh
index 88b524b9..94103051 100644
--- a/conf/CA/newIntermediate.sh
+++ b/conf/CA/newIntermediate.sh
@@ -44,7 +44,8 @@ EOF
# Sign it
openssl ca -config openssl.conf -extensions v3_intermediate_ca \
- -cert certs/ca.crt -keyfile private/ca.key -out $DIR/certs/ca.crt \
+ -days 1826 \
+ -cert certs/ca.crt -keyfile private/ca.key -out $DIR/certs/ca.crt \
-infiles $DIR/$CN.csr
openssl x509 -text -noout -in $DIR/certs/ca.crt