Patches for add check certificate support for LDAP plugin [sf#2430999] [#1172]