I am running Graylog 5.1 on Ubuntu 22.04. I have a single node installation behind an nginx proxy.
I have an “Authentication Service” configured to our Windows Active Directory to allow domain users to login. This works fine when I have no encryption (LDAP - port 389), however when I enable the TLS option (LDAPS - port 636) I receive the following error:
Couldn’t establish connection to xxx.xxx.xxx.xxx:636
An error occurred while attempting to connect to server xxx.xxx.xxx.xxx:636: IOException(LDAPException(resultCode=91 (connect error), errorMessage=‘An error occurred while attempting to establish a connection to server /xxx.xxx.xxx.xxx:636: SocketException(Connection reset by peer), ldapSDKVersion=5.1.1, revision=580fabe31b0752099ccd9a835fe7da96e8251e28’))*
I have both SSL and TLS certificates on my Graylog server, however when I enable TLS in server.conf I am no longer able to connect to the front end (I receive a gateway timeout), I am pointing to the correct .pem certificate and pkcs8 key (2048) in my server.conf file.
I am not really sure what this error means, or how I can resolve this issue. Any help would be much appreciated.
Thanks for the response, I added a rule to allow port 636 between my Graylog server to Windows AD on both routers on this path, however it is possible that it was either misconfigured or a local firewall is at fault.
I will install nmap on my Graylog server and run a TCP scan on port 636 to my AD server.