summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2012-10-25 10:58:40 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2012-10-25 15:16:09 -0400
commit2aa42bcede50add24508414ba8467c45c77086ce (patch)
treec2fcfaf6aaadfcfdf491b996847503b5181e46b2
parent3908d965bbc2f13d2518af5ffcc094d6d920420d (diff)
downloadpki-alee-79.tar.gz
pki-alee-79.tar.xz
pki-alee-79.zip
Restrict AJP to localhost only by defaultalee-79
Ticket 369
-rw-r--r--base/ca/shared/conf/server.xml2
-rw-r--r--base/common/shared/conf/server.xml2
-rw-r--r--base/kra/shared/conf/server.xml2
-rw-r--r--base/ocsp/shared/conf/server.xml2
-rw-r--r--base/tks/shared/conf/server.xml2
5 files changed, 5 insertions, 5 deletions
diff --git a/base/ca/shared/conf/server.xml b/base/ca/shared/conf/server.xml
index 60317d2fa..1ae2decea 100644
--- a/base/ca/shared/conf/server.xml
+++ b/base/ca/shared/conf/server.xml
@@ -215,7 +215,7 @@ Tomcat Port = [TOMCAT_SERVER_PORT] (for shutdown)
<!-- Define an AJP 1.3 Connector on port [PKI_AJP_PORT] -->
[PKI_OPEN_AJP_PORT_COMMENT]
- <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" />
+ <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" address="127.0.0.1" />
[PKI_CLOSE_AJP_PORT_COMMENT]
diff --git a/base/common/shared/conf/server.xml b/base/common/shared/conf/server.xml
index 596b7e356..86eea5bf9 100644
--- a/base/common/shared/conf/server.xml
+++ b/base/common/shared/conf/server.xml
@@ -199,7 +199,7 @@ Tomcat Port = [TOMCAT_SERVER_PORT] (for shutdown)
<!-- Define an AJP 1.3 Connector on port [PKI_AJP_PORT] -->
[PKI_OPEN_AJP_PORT_COMMENT]
- <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" />
+ <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" address="127.0.0.1" />
[PKI_CLOSE_AJP_PORT_COMMENT]
diff --git a/base/kra/shared/conf/server.xml b/base/kra/shared/conf/server.xml
index 54ba3272b..1cd6ef333 100644
--- a/base/kra/shared/conf/server.xml
+++ b/base/kra/shared/conf/server.xml
@@ -196,7 +196,7 @@ Tomcat Port = [TOMCAT_SERVER_PORT] (for shutdown)
<!-- Define an AJP 1.3 Connector on port [PKI_AJP_PORT] -->
[PKI_OPEN_AJP_PORT_COMMENT]
- <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" />
+ <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" address="127.0.0.1" />
[PKI_CLOSE_AJP_PORT_COMMENT]
diff --git a/base/ocsp/shared/conf/server.xml b/base/ocsp/shared/conf/server.xml
index 6217ce1d9..a8fcaa7a5 100644
--- a/base/ocsp/shared/conf/server.xml
+++ b/base/ocsp/shared/conf/server.xml
@@ -196,7 +196,7 @@ Tomcat Port = [TOMCAT_SERVER_PORT] (for shutdown)
<!-- Define an AJP 1.3 Connector on port [PKI_AJP_PORT] -->
[PKI_OPEN_AJP_PORT_COMMENT]
- <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" />
+ <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" address="127.0.0.1" />
[PKI_CLOSE_AJP_PORT_COMMENT]
diff --git a/base/tks/shared/conf/server.xml b/base/tks/shared/conf/server.xml
index 6217ce1d9..a8fcaa7a5 100644
--- a/base/tks/shared/conf/server.xml
+++ b/base/tks/shared/conf/server.xml
@@ -196,7 +196,7 @@ Tomcat Port = [TOMCAT_SERVER_PORT] (for shutdown)
<!-- Define an AJP 1.3 Connector on port [PKI_AJP_PORT] -->
[PKI_OPEN_AJP_PORT_COMMENT]
- <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" />
+ <Connector port="[PKI_AJP_PORT]" protocol="AJP/1.3" redirectPort="[PKI_AJP_REDIRECT_PORT]" address="127.0.0.1" />
[PKI_CLOSE_AJP_PORT_COMMENT]