components/openldap/patches/01-no-ssl3.patch
author zihao.zhu@oracle.com <zihao.zhu@oracle.com>
Fri, 07 Aug 2015 15:29:52 -0700
branchs11u2-sru13-backport
changeset 4756 9d8743313ecd
parent 4705 19671f39ce55
child 5911 a8d897c4c442
permissions -rw-r--r--
21577683 Incorrect TLS_CIPHER_SUITE string value in ldap.conf and slapd.conf 16538104 Starting svc:/network/ldap/server:openldap_24 fails

Fixes problem with setting the TLS client protocol version and ciphersuite
in the NSSWITCH LDAP library in Solaris.
Patch was developed in-house; it is Solaris specific and
will not be contributed upstream.

--- openldap-2.4.30/libraries/libldap/ldap.conf.old	Mon Jun  1 16:46:56 2015
+++ openldap-2.4.30/libraries/libldap/ldap.conf	Mon Jun  1 16:47:08 2015
@@ -9,5 +9,8 @@
 #URI	ldap://ldap.example.com ldap://ldap-master.example.com:666
 
 #SIZELIMIT	12
 #TIMELIMIT	15
 #DEREF		never
+
+TLS_PROTOCOL_MIN	3.2
+TLS_CIPHER_SUITE	TLSv1.2:!aNULL:!eNULL:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DHE-RSA-DES-CBC3-SHA:DHE-DSS-DES-CBC3-SHA:AES128-SHA:AES256-SHA:DES-CBC3-SHA
--- openldap-2.4.30/servers/slapd/slapd.conf.old	Mon Jun  1 16:47:47 2015
+++ openldap-2.4.30/servers/slapd/slapd.conf	Mon Jun  1 16:47:59 2015
@@ -22,10 +22,12 @@
 # Sample security restrictions
 #	Require integrity protection (prevent hijacking)
 #	Require 112-bit (3DES or better) encryption for updates
 #	Require 63-bit encryption for simple bind
 # security ssf=1 update_ssf=112 simple_bind=64
+TLSProtocolMin	770
+TLSCipherSuite	TLSv1.2:!aNULL:!eNULL:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DHE-RSA-DES-CBC3-SHA:DHE-DSS-DES-CBC3-SHA:AES128-SHA:AES256-SHA:DES-CBC3-SHA
 
 # Sample access control policy:
 #	Root DSE: allow anyone to read it
 #	Subschema (sub)entry DSE: allow anyone to read it
 #	Other DSEs: