Merge "Use Absolute path in zk-ca.sh for openssl config"

This commit is contained in:
Zuul 2020-05-28 17:06:09 +00:00 committed by Gerrit Code Review
commit 149c051db1
1 changed files with 2 additions and 1 deletions

View File

@ -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