Hello,
I’m trying
to use TLS in die LDAP Authentication and Lookup PlugIn. This would not work
and I got error TLS
could not be started: Connect error: Unknown Net_LDAP2 Error (-11) If TLS is
unchecked the LDAP connection is working fine. Interesting is the error that is
logged on the LDAP Server (MS AD on W2K12R2): Error, Source: Schannel, EventID:
36887, TLS-Protokoll generates a Warning code 48. For my research this means
that a certificate was submitted and the CA is unknown or untrusted. https://blogs.msdn.microsoft.com/kaushal/2012/10/05/ssltls-alert-protocol-the-alert-codes/
What is going on here? I’m really no specialist in
encryption but this seems to me that the LDAP bind is submitting a certificate
to the AD-LDAP that is not trusted by the AD-LDAP server. IMO this is not necessary
to establish the TLS-Secured LDAP connection. A certificate is only needed on
the LDAP-Server and of course there is one and that should be trusted by
LDAP-Server and Webserver. Even on the Webserver (IIS 8.5) I use a not
selfsigned and trusted certificate for SSL encryption of the osTicket portal.
Maybe the php is using another certificate from installation? (Sorry I’m very
new to php).
I think the AD-LDAP Server is ready to establish
successful TLS-LDAP connection because we already use this with another
Web-Application (tomcat based).
At last some information to the osTicket installation:
osTicket-Version: v1.9.12
(19292ad) — Up to date
Server-Software: Microsoft-IIS/8.5
MySQL-Version: 10.1.13
PHP-Version: 5.3.28
I hope you
can give me any hints to get TLS working.
Kind
regards
Andreas