summaryrefslogtreecommitdiffstats
path: root/base/server/scripts
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-05-20 22:30:38 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2013-05-30 12:00:18 -0400
commit3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6 (patch)
treef99e93afd84bbb0311109a231bd0ae746e5f09ec /base/server/scripts
parent8c4d4ae8466ddc59233b477153e9f7a2355ae37f (diff)
downloadpki-3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6.tar.gz
pki-3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6.tar.xz
pki-3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6.zip
Renamed PORT and UNSECURE_PORT into PKI_UNSECURE_PORT.
The PORT and UNSECURE_PORT variables in RA and TPS has been renamed into PKI_UNSECURE_PORT to match the Tomcat-based subsystems.
Diffstat (limited to 'base/server/scripts')
-rw-r--r--base/server/scripts/operations22
1 files changed, 11 insertions, 11 deletions
diff --git a/base/server/scripts/operations b/base/server/scripts/operations
index 616c28dd6..c7bbc0a5f 100644
--- a/base/server/scripts/operations
+++ b/base/server/scripts/operations
@@ -432,7 +432,7 @@ get_pki_status_definitions_ra()
{
# establish well-known strings
total_ports=0
- UNSECURE_PORT=""
+ PKI_UNSECURE_PORT=""
CLIENTAUTH_PORT=""
NON_CLIENTAUTH_PORT=""
@@ -450,11 +450,11 @@ get_pki_status_definitions_ra()
# Iterate over Listen statements
for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_HTTPD_CONF}`; do
- UNSECURE_PORT=$port
+ PKI_UNSECURE_PORT=$port
if [ $total_ports -eq 0 ]; then
- echo " Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}"
+ echo " Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}"
else
- echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}"
+ echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}"
fi
total_ports=`expr ${total_ports} + 1`
@@ -462,7 +462,7 @@ get_pki_status_definitions_ra()
# Iterate over Listen statements
for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_NSS_CONF}`; do
- UNSECURE_PORT=$port
+ PKI_UNSECURE_PORT=$port
if [ $total_ports -eq 1 ]; then
CLIENTAUTH_PORT=$port
echo " Secure Clientauth Port = https://${PKI_SERVER_NAME}:${CLIENTAUTH_PORT}"
@@ -482,7 +482,7 @@ get_pki_status_definitions_tps()
{
# establish well-known strings
total_ports=0
- UNSECURE_PORT=""
+ PKI_UNSECURE_PORT=""
CLIENTAUTH_PORT=""
NON_CLIENTAUTH_PORT=""
@@ -500,14 +500,14 @@ get_pki_status_definitions_tps()
# Iterate over Listen statements
for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_HTTPD_CONF}`; do
- UNSECURE_PORT=$port
+ PKI_UNSECURE_PORT=$port
if [ $total_ports -eq 0 ]; then
- echo " Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}/cgi-bin/so/enroll.cgi"
+ echo " Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}/cgi-bin/so/enroll.cgi"
echo " (ESC Security Officer Enrollment)"
- echo " Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}/cgi-bin/home/index.cgi"
+ echo " Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}/cgi-bin/home/index.cgi"
echo " (ESC Phone Home)"
else
- echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}"
+ echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}"
fi
total_ports=`expr ${total_ports} + 1`
@@ -515,7 +515,7 @@ get_pki_status_definitions_tps()
# Iterate over Listen statements
for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_NSS_CONF}`; do
- UNSECURE_PORT=$port
+ PKI_UNSECURE_PORT=$port
if [ $total_ports -eq 1 ]; then
CLIENTAUTH_PORT=$port
echo " Secure Clientauth Port = https://${PKI_SERVER_NAME}:${CLIENTAUTH_PORT}/cgi-bin/sow/welcome.cgi"