summaryrefslogtreecommitdiffstats
path: root/scripts/cert-request-approve.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-09-11 12:50:31 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-09-11 12:50:31 -0500
commit0427fa61a3003dab7c1786c9071cf0105950f364 (patch)
treeb153b573bee5d80099de7f2577b08c6e58e4ec87 /scripts/cert-request-approve.sh
parentba90fbd8fb727f1131986738c1d8a597f55631d8 (diff)
downloadpki-dev-0427fa61a3003dab7c1786c9071cf0105950f364.zip
pki-dev-0427fa61a3003dab7c1786c9071cf0105950f364.tar.gz
pki-dev-0427fa61a3003dab7c1786c9071cf0105950f364.tar.xz
Cleaned up and reorganized the 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 ea73e69..162c2ee 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/certs
+CLIENT_CERT_DIR=/var/lib/pki/$INSTANCE_NAME/ca/certs
# Approve request as an agent
-pki -v -U https://localhost:8443/ca -d $CLIENT_CERT_DIR -w Secret123 -n caadmin cert-request-approve "$INPUT"
+pki -v -d $CLIENT_CERT_DIR -w Secret123 -n caadmin cert-request-approve "$INPUT"