Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CA serial
[aaf/authz.git]
/
conf
/
CA
/
bootstrap.sh
diff --git
a/conf/CA/bootstrap.sh
b/conf/CA/bootstrap.sh
index
7d89b35
..
fba4d6a
100644
(file)
--- 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
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
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
FQI=aaf@aaf.osaaf.org
SUBJECT="/CN=$FQDN/OU=$FQI`cat subject.aaf`"
SIGNER_P12=$1