summaryrefslogtreecommitdiffstats
path: root/scripts/cert-request-approve.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-30 01:41:28 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-30 01:41:28 -0500
commitd877e5f21892d911df2b7654ab6e59e6a671e1c7 (patch)
treee6a232c47d69e0f446d4fca9c01168479e25a0db /scripts/cert-request-approve.sh
parentc69895b9b8ad8a9d75c2113762e409e6822e55f6 (diff)
downloadpki-dev-d877e5f21892d911df2b7654ab6e59e6a671e1c7.zip
pki-dev-d877e5f21892d911df2b7654ab6e59e6a671e1c7.tar.gz
pki-dev-d877e5f21892d911df2b7654ab6e59e6a671e1c7.tar.xz
Update cert-request scripts.
Diffstat (limited to 'scripts/cert-request-approve.sh')
-rwxr-xr-xscripts/cert-request-approve.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cert-request-approve.sh b/scripts/cert-request-approve.sh
index 162c2ee..f360323 100755
--- a/scripts/cert-request-approve.sh
+++ b/scripts/cert-request-approve.sh
@@ -8,7 +8,7 @@ fi
SRC_DIR=`cd ../.. ; pwd`
INSTANCE_NAME=ca-master
-CLIENT_CERT_DIR=/var/lib/pki/$INSTANCE_NAME/ca/certs
+CLIENT_CERT_DIR=$HOME/.pki/${INSTANCE_NAME}_ca/alias
# Approve request as an agent
-pki -v -d $CLIENT_CERT_DIR -w Secret123 -n caadmin cert-request-approve "$INPUT"
+pki -d $CLIENT_CERT_DIR -w Secret123 -n caadmin cert-request-approve "$INPUT"