summaryrefslogtreecommitdiffstats
path: root/conf/CA/newIntermediate.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-06-05 04:03:49 -0500
committerInstrumental <jonathan.gathman@att.com>2018-06-05 04:04:08 -0500
commit8601af6961266538a0dd39e36a90a7cd483df029 (patch)
tree43d7f312294b146d62d322641e7716008493fb15 /conf/CA/newIntermediate.sh
parentfb319cb5dbe50fc606844c0cae866529ae0b25f2 (diff)
Create 5 year Intermediate Certificate
Issue-ID: AAF-346 Change-Id: Ifb48c81dfd3c3f603d74f20ff309ef99ce6f1eca Signed-off-by: Instrumental <jonathan.gathman@att.com>
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