X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=conf%2FCA%2Fbootstrap.sh;h=fba4d6a8465a2230fe803e248b9189d083d27314;hb=c3ca46e074d73b7aca3fb6331203552968119070;hp=7d89b35c2d1d4f93b00dc5125ebba1e8b023e9b5;hpb=bc299c00e5a86732c5a063a1d7c7bccf1d4ab21b;p=aaf%2Fauthz.git diff --git a/conf/CA/bootstrap.sh b/conf/CA/bootstrap.sh index 7d89b35c..fba4d6a8 100644 --- a/conf/CA/bootstrap.sh +++ b/conf/CA/bootstrap.sh @@ -9,11 +9,11 @@ chmod 755 certs newcerts touch index.txt echo "unique_subject = no" > index.txt.attr if [ ! -e ./serial ]; then - echo '01' > ./serial + echo $(date +%s) > ./serial fi NAME=aaf.bootstrap -FQDN=$(hostname -f) +FQDN="${HOSTNAME:=$(hostname -f)}" FQI=aaf@aaf.osaaf.org SUBJECT="/CN=$FQDN/OU=$FQI`cat subject.aaf`" SIGNER_P12=$1