summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorLudwig Krispenz <lkrispen@redhat.com>2014-09-12 12:43:31 +0200
committerMartin Kosek <mkosek@redhat.com>2014-09-12 16:42:09 +0200
commitab196220fdd886fc2b1998eeee0f8e9a4b384845 (patch)
tree6a66fdaa676cd87d9322e7a4f3f38f215cd19653 /ipaserver/install/dsinstance.py
parent854bc42913f663dce1f2e0fbb44a670a2812d87c (diff)
downloadfreeipa-ab196220fdd886fc2b1998eeee0f8e9a4b384845.tar.gz
freeipa-ab196220fdd886fc2b1998eeee0f8e9a4b384845.tar.xz
freeipa-ab196220fdd886fc2b1998eeee0f8e9a4b384845.zip
Update SSL ciphers configured in 389-ds-base
use configuration parameters to enable ciphers provided by NSS and not considered weak. This requires 389-ds version 1.3.3.2 or later https://fedorahosted.org/freeipa/ticket/4395 Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index cc1d32709..0518dd0e0 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -664,11 +664,8 @@ class DsInstance(service.Service):
conn.do_simple_bind(DN(('cn', 'directory manager')), self.dm_password)
mod = [(ldap.MOD_REPLACE, "nsSSLClientAuth", "allowed"),
- (ldap.MOD_REPLACE, "nsSSL3Ciphers",
- "-rsa_null_md5,+rsa_rc4_128_md5,+rsa_rc4_40_md5,+rsa_rc2_40_md5,\
-+rsa_des_sha,+rsa_fips_des_sha,+rsa_3des_sha,+rsa_fips_3des_sha,+fortezza,\
-+fortezza_rc4_128_sha,+fortezza_null,+tls_rsa_export1024_with_rc4_56_sha,\
-+tls_rsa_export1024_with_des_cbc_sha")]
+ (ldap.MOD_REPLACE, "nsSSL3Ciphers", "+all"),
+ (ldap.MOD_REPLACE, "allowWeakCipher", "off")]
conn.modify_s(DN(('cn', 'encryption'), ('cn', 'config')), mod)
mod = [(ldap.MOD_ADD, "nsslapd-security", "on")]