summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-10-06 20:37:57 -0400
committerRob Crittenden <rcritten@redhat.com>2011-10-09 23:32:55 -0400
commitf3ca0618c27df93e9a8836bead7d881301240945 (patch)
tree85c381e5dc34dfc2ffd7ff1fb8b88b163144eb44 /ipaserver
parent59cd7f51c48d7e9b2703437229f35b114fd9585b (diff)
downloadfreeipa-f3ca0618c27df93e9a8836bead7d881301240945.tar.gz
freeipa-f3ca0618c27df93e9a8836bead7d881301240945.tar.xz
freeipa-f3ca0618c27df93e9a8836bead7d881301240945.zip
Make mod_nss renegotiation configuration a public function
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/httpinstance.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipaserver/install/httpinstance.py b/ipaserver/install/httpinstance.py
index dbb0dd500..c5c047c35 100644
--- a/ipaserver/install/httpinstance.py
+++ b/ipaserver/install/httpinstance.py
@@ -76,7 +76,7 @@ class HTTPInstance(service.Service):
self.step("disabling mod_ssl in httpd", self.__disable_mod_ssl)
self.step("setting mod_nss port to 443", self.__set_mod_nss_port)
self.step("setting mod_nss password file", self.__set_mod_nss_passwordfile)
- self.step("enabling mod_nss renegotiate", self.__enable_mod_nss_renegotiate)
+ self.step("enabling mod_nss renegotiate", self.enable_mod_nss_renegotiate)
self.step("adding URL rewriting rules", self.__add_include)
self.step("configuring httpd", self.__configure_http)
self.step("setting up ssl", self.__setup_ssl)
@@ -166,9 +166,9 @@ class HTTPInstance(service.Service):
def __set_mod_nss_nickname(self, nickname):
installutils.set_directive(NSS_CONF, 'NSSNickname', nickname)
- def __enable_mod_nss_renegotiate(self):
- installutils.set_directive(NSS_CONF, 'NSSRenegotiation', 'on',False)
- installutils.set_directive(NSS_CONF, 'NSSRequireSafeNegotiation', 'on',False)
+ def enable_mod_nss_renegotiate(self):
+ installutils.set_directive(NSS_CONF, 'NSSRenegotiation', 'on', False)
+ installutils.set_directive(NSS_CONF, 'NSSRequireSafeNegotiation', 'on', False)
def __set_mod_nss_passwordfile(self):
installutils.set_directive(NSS_CONF, 'NSSPassPhraseDialog', 'file:/etc/httpd/conf/password.conf')