From 0d4ec12d30e2318cf036ab24a8d113b7adcdccf0 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 30 Aug 2018 14:33:08 -0500 Subject: Check Serial in bootstrap Issue-ID: AAF-420 Change-Id: Id98596c3b23c08c6e888baa3a0a41c4e07cd204e Signed-off-by: Instrumental --- conf/CA/bootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/CA') 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) -- cgit 1.2.3-korg