From: Instrumental Date: Thu, 30 Aug 2018 19:33:08 +0000 (-0500) Subject: Check Serial in bootstrap X-Git-Tag: 2.1.2~79 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=0d4ec12d30e2318cf036ab24a8d113b7adcdccf0;hp=af2d592ebbb96d5f5f55f7322f9ecdfdccfce64e;p=aaf%2Fauthz.git Check Serial in bootstrap Issue-ID: AAF-420 Change-Id: Id98596c3b23c08c6e888baa3a0a41c4e07cd204e Signed-off-by: Instrumental --- 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)