summaryrefslogtreecommitdiffstats
path: root/conf/CA
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-02-07 16:36:56 -0600
committerInstrumental <jonathan.gathman@att.com>2019-02-07 16:37:00 -0600
commit27afb0201ce717c25d8ffcc50f8b4972fc98f5c5 (patch)
treefcc70c64abc1b5741f92b65b354ea009f5fc4175 /conf/CA
parente2fa0e67712b92c69f6863afe10c1c973a068e3e (diff)
Refine properties for non-root
Issue-ID: AAF-698 Change-Id: I266f0e36842fb506dbb3e412e12eedf64e24418a Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'conf/CA')
-rw-r--r--conf/CA/bootstrap.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/CA/bootstrap.sh b/conf/CA/bootstrap.sh
index bf946782..c6064fbe 100644
--- a/conf/CA/bootstrap.sh
+++ b/conf/CA/bootstrap.sh
@@ -32,7 +32,8 @@ if [ ! -e ./serial ]; then
fi
NAME=aaf.bootstrap
-FQDN="${HOSTNAME:=$(hostname -f)}"
+HOSTNAME="${HOSTNAME:=$(hostname -)}"
+FQDN="${aaf_locator_fqdn:=$HOSTNAME}"
FQI=aaf@aaf.osaaf.org
SUBJECT="/CN=$FQDN/OU=$FQI`cat subject.aaf`"
SIGNER_P12=$1