summaryrefslogtreecommitdiffstats
path: root/conf/CA
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-08-30 14:33:08 -0500
committerInstrumental <jonathan.gathman@att.com>2018-08-30 14:33:17 -0500
commit0d4ec12d30e2318cf036ab24a8d113b7adcdccf0 (patch)
treebf05211bc05e5fd36a016782b79a0a1c530e2511 /conf/CA
parentaf2d592ebbb96d5f5f55f7322f9ecdfdccfce64e (diff)
Check Serial in bootstrap
Issue-ID: AAF-420 Change-Id: Id98596c3b23c08c6e888baa3a0a41c4e07cd204e Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'conf/CA')
-rw-r--r--conf/CA/bootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/CA/bootstrap.sh b/conf/CA/bootstrap.sh
index 20093ee3..56181246 100644
--- a/conf/CA/bootstrap.sh
+++ b/conf/CA/bootstrap.sh
@@ -8,6 +8,9 @@ chmod 700 private
chmod 755 certs newcerts
touch index.txt
echo "unique_subject = no" > index.txt.attr
+if [ ! -e ./serial ]; then
+ echo '01' > ./serial
+fi
NAME=aaf.bootstrap
FQDN=$(hostname -f)