summaryrefslogtreecommitdiff
path: root/sign-ca.in
diff options
context:
space:
mode:
Diffstat (limited to 'sign-ca.in')
-rwxr-xr-xsign-ca.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/sign-ca.in b/sign-ca.in
index 09ba8a2..372309c 100755
--- a/sign-ca.in
+++ b/sign-ca.in
@@ -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