Use Absolute path in zk-ca.sh for openssl config
The zk-ca.sh tool for generating certificates fails with and error that ./tools/openssl.cnf cannot be opened if a relative path is supplied on ubuntu-bionic. So expand the path to an absolute path instead. http://paste.openstack.org/show/794091/ Change-Id: Ib30e9754d4520b956e83cae014c1be181ae44631
This commit is contained in:
parent
1b58b12e6d
commit
1f4cdfbd93
@ -21,7 +21,8 @@ SERVER=$2
|
||||
|
||||
SUBJECT='/C=US/ST=California/L=Oakland/O=Company Name/OU=Org'
|
||||
TOOLSDIR=$(dirname $0)
|
||||
CONFIG="-config $TOOLSDIR/openssl.cnf"
|
||||
ABSTOOLSDIR=$(cd $TOOLSDIR ;pwd)
|
||||
CONFIG="-config $ABSTOOLSDIR/openssl.cnf"
|
||||
|
||||
make_ca() {
|
||||
mkdir $CAROOT/demoCA
|
||||
|
Loading…
x
Reference in New Issue
Block a user