LDAP TLS issue

Background:
Jabber System: CentOS 7 + ejabberd 17.07.
LDAP server: Windows Server 2012

When I have ejabberd authenticate users with no encryption on port 389, everything works fine.
When I change ldap_encrypt to TLS and to port 636 the Windows Server keeps on closing the connection.

The event viewer reports a TLSv1.2 connection from ejabber but provides error 40 which means: handshake_failure.
Indicates that the sender was unable to negotiate an acceptable set of security parameters given the options available.

Has anyone seen anything similar?

Syndicate content