Check Serial in bootstrap 89/63889/1
authorInstrumental <jonathan.gathman@att.com>
Thu, 30 Aug 2018 19:33:08 +0000 (14:33 -0500)
committerInstrumental <jonathan.gathman@att.com>
Thu, 30 Aug 2018 19:33:17 +0000 (14:33 -0500)
Issue-ID: AAF-420
Change-Id: Id98596c3b23c08c6e888baa3a0a41c4e07cd204e
Signed-off-by: Instrumental <jonathan.gathman@att.com>
conf/CA/bootstrap.sh

index 20093ee..5618124 100644 (file)
@@ -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)