diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-17 16:38:17 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-17 16:38:17 -0500 |
commit | f3695de661f74e8a43829579683977c9ac0bc633 (patch) | |
tree | 9c431fdfa99589ad7b92512e3eb62421c911ef7b /scripts/ca-configure.sh | |
parent | cd1ab0aaa0f2882fb67bd30e7955a77e5116ae2b (diff) | |
download | pki-dev-f3695de661f74e8a43829579683977c9ac0bc633.tar.gz pki-dev-f3695de661f74e8a43829579683977c9ac0bc633.tar.xz pki-dev-f3695de661f74e8a43829579683977c9ac0bc633.zip |
Added support for shared & separate ports.
Diffstat (limited to 'scripts/ca-configure.sh')
-rwxr-xr-x | scripts/ca-configure.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/ca-configure.sh b/scripts/ca-configure.sh index 8b67093..e2c2110 100755 --- a/scripts/ca-configure.sh +++ b/scripts/ca-configure.sh @@ -8,9 +8,15 @@ CERTS=$SRC_DIR/pki-dev/certs/ca rm -rf $CERTS mkdir -p $CERTS +if [ "$CA_SECURE_PORT" == "" ]; then + PORT="$CA_ADMIN_SECURE_PORT" +else + PORT="$CA_SECURE_PORT" +fi + pkisilent ConfigureCA \ -cs_hostname $HOSTNAME \ - -cs_port $CA_SECURE_PORT \ + -cs_port $PORT \ -preop_pin $PIN \ -client_certdb_dir "$CERTS" \ -client_certdb_pwd "$PASSWORD" \ |