summaryrefslogtreecommitdiffstats
path: root/scripts/cert-request-review.sh
blob: 759f2bd5e57c8c41bd36ff440ab630d76c042958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

REQUEST_ID=$1

SRC_DIR=`cd ../.. ; pwd`
INSTANCE_NAME=ca-master
CLIENT_CERT_DIR=/var/lib/pki/$INSTANCE_NAME/certs

export NSPR_LOG_MODULES=all
export NSPR_LOG_FILE=nspr.log

# Review request as an agent
pki -v -U https://localhost:8443/ca -d $CLIENT_CERT_DIR -w Secret123 -n caadmin cert-request-review $REQUEST_ID --output cert-request-review.xml