diff options
-rwxr-xr-x | sign-ca.in | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -33,14 +33,14 @@ move_old_ca() { } level_ground_for_new_ca() { - install -d -m0755 '#ETCDIR#/simple-pki/ca/'"$1"'/db' - install -d -m0700 '#ETCDIR#/simple-pki/ca/'"$1"'/private' + install -d -m0755 '#ETCDIR#/'"$1"'/ca/'"$1"'/db' + install -d -m0700 '#ETCDIR#/'"$1"'/ca/'"$1"'/private' touch \ - '#ETCDIR#/simple-pki/ca/'"$1"'/db/'"$1"'.db' \ - '#ETCDIR#/simple-pki/ca/'"$1"'/db/'"$1"'.db.attr' + '#ETCDIR#/'"$1"'/ca/'"$1"'/db/'"$1"'.db' \ + '#ETCDIR#/'"$1"'/ca/'"$1"'/db/'"$1"'.db.attr' echo '01' \ - |tee '#ETCDIR#/simple-pki/ca/'"$1"'/db/'"$1"'.crt.srl' \ - >'#ETCDIR#/simple-pki/ca/'"$1"'/db/'"$1"'.crl.srl' + |tee '#ETCDIR#/'"$1"'/ca/'"$1"'/db/'"$1"'.crt.srl' \ + >'#ETCDIR#/'"$1"'/ca/'"$1"'/db/'"$1"'.crl.srl' } if [ -f '#ETCDIR#/simple-pki/ca/root-ca.crt' ]; then |