diff options
author | Erich Eckner <git@eckner.net> | 2019-12-09 19:57:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-09 19:57:01 +0100 |
commit | 9682674483d63e54d854cb173994c818c000a4bc (patch) | |
tree | 2ef4535fb51df1d20964a76a1263df03e618cceb /sign-ca.in | |
parent | 86480e36a2b2f9e69c32e6a17babc3914c998f35 (diff) | |
download | simple-pki-9682674483d63e54d854cb173994c818c000a4bc.tar.xz |
sign-ca.in: bugfix
Diffstat (limited to 'sign-ca.in')
-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 |