create directory structure properly
This commit is contained in:
parent
973d7c9aab
commit
1448b51767
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if [ -d "$1" ]; then
|
|||
fi
|
||||
CADIR="$1"
|
||||
|
||||
mkdir -p "${CADIR}/{certs,crl,newcerts,private}"
|
||||
mkdir -p "${CADIR}"/{certs,crl,newcerts,private}
|
||||
|
||||
cp "$2" "${CADIR}/private/ca.key.pem"
|
||||
cp "$3" "${CADIR}/ca.crt.pem"
|
||||
|
|
Loading…
Reference in a new issue