summaryrefslogtreecommitdiffstats
path: root/conf/CA/newIntermediate.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-09-25 08:25:52 -0500
committerInstrumental <jonathan.gathman@att.com>2018-09-25 08:26:05 -0500
commitc3ca46e074d73b7aca3fb6331203552968119070 (patch)
treee121bc6a2a1db86d4f3f0b086a5a642d8962b9a9 /conf/CA/newIntermediate.sh
parent54883b4545dc32a5e4c7fbe0a49ef5b89a615435 (diff)
CA serial
Issue-ID: AAF-517 Change-Id: I5306f9e6e5c2692a2f4a96ff25fb7badc5a586db Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'conf/CA/newIntermediate.sh')
-rw-r--r--conf/CA/newIntermediate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/CA/newIntermediate.sh b/conf/CA/newIntermediate.sh
index b548dd45..e09a4fcf 100644
--- a/conf/CA/newIntermediate.sh
+++ b/conf/CA/newIntermediate.sh
@@ -4,7 +4,7 @@
if [ -e intermediate.serial ]; then
((SERIAL=`cat intermediate.serial` + 1))
else
- SERIAL=1
+ SERIAL=$(date +%s)
fi
echo $SERIAL > intermediate.serial
DIR=intermediate_$SERIAL